No description
| defaults | ||
| tasks | ||
| README.md | ||
Cron
All configuration is to be placed inside the cron dict.
# <name>: *jobconfig*
jobs: {}
# defaults for all jobs, see *jobconfig*
defaults:
user: root
weekday: '*'
hour: '*'
minute: '*'
special_time: False
random_options:
weekday: "{{ range(6)|list }}"
hour: "{{ range(1, 22)|list }}"
minute: "{{ range(5, 50)|list }}"
jobconfig
# user to run job as
user: root
# weekday to run job at
weekday: '*'
# hour to run job at
hour: '*'
# minute to run job at
minute: '*'
# can be False or (mutaly exclusive with weekday/hour/minute) one of 'random_daily' or 'random_weekly'
special_time: False
# options if 'special_time' is not False
random_options:
weekday: "{{ range(6)|list }}"
hour: "{{ range(1, 22)|list }}"
minute: "{{ range(5, 50)|list }}"