Stop running everything at midnight
This commit is contained in:
parent
9a6eef0320
commit
bf5c95fbe2
2 changed files with 6 additions and 2 deletions
|
@ -36,7 +36,9 @@
|
||||||
- name: Clean up docker containers
|
- name: Clean up docker containers
|
||||||
cron:
|
cron:
|
||||||
name: clean up docker containers
|
name: clean up docker containers
|
||||||
special_time: weekly
|
hour: 12
|
||||||
|
minute: 0
|
||||||
|
weekday: 3
|
||||||
job: docker system prune -af --volumes
|
job: docker system prune -af --volumes
|
||||||
|
|
||||||
- name: Install util scripts
|
- name: Install util scripts
|
||||||
|
|
|
@ -16,7 +16,9 @@
|
||||||
- name: ZFS Scrub
|
- name: ZFS Scrub
|
||||||
cron:
|
cron:
|
||||||
name: scrub {{ item }} ZFS pool
|
name: scrub {{ item }} ZFS pool
|
||||||
special_time: weekly
|
hour: 5
|
||||||
|
minute: 0
|
||||||
|
weekday: 5
|
||||||
job: "{{ which_zpool.stdout }} scrub {{ item }}"
|
job: "{{ which_zpool.stdout }} scrub {{ item }}"
|
||||||
become: true
|
become: true
|
||||||
loop: "{{ zpools_to_scrub }}"
|
loop: "{{ zpools_to_scrub }}"
|
||||||
|
|
Loading…
Reference in a new issue