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
parent 943f8fe7c9
commit 799a75580a

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