1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Update cron example for setting to run twice a day

Fixes #415
This commit is contained in:
Toshio Kuratomi 2014-12-02 14:38:32 -08:00 committed by Matt Clay
parent 103b5954c7
commit 7ff9b3990a

View file

@ -123,8 +123,8 @@ updates: [ 'Mike Grozak', 'Patrick Callahan' ]
EXAMPLES = '''
# Ensure a job that runs at 2 and 5 exists.
# Creates an entry like "* 5,2 * * ls -alh > /dev/null"
- cron: name="check dirs" hour="5,2" job="ls -alh > /dev/null"
# Creates an entry like "0 5,2 * * ls -alh > /dev/null"
- cron: name="check dirs" minute="0" hour="5,2" job="ls -alh > /dev/null"
# Ensure an old job is no longer present. Removes any job that is prefixed
# by "#Ansible: an old job" from the crontab