Stop running everything at midnight

This commit is contained in:
Jake Howard 2021-05-30 13:55:44 +01:00
parent 9a6eef0320
commit bf5c95fbe2
Signed by: jake
GPG key ID: 57AFB45680EDD477
2 changed files with 6 additions and 2 deletions

View file

@ -36,7 +36,9 @@
- name: Clean up docker containers
cron:
name: clean up docker containers
special_time: weekly
hour: 12
minute: 0
weekday: 3
job: docker system prune -af --volumes
- name: Install util scripts

View file

@ -16,7 +16,9 @@
- name: ZFS Scrub
cron:
name: scrub {{ item }} ZFS pool
special_time: weekly
hour: 5
minute: 0
weekday: 5
job: "{{ which_zpool.stdout }} scrub {{ item }}"
become: true
loop: "{{ zpools_to_scrub }}"