mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
fix cron DOCUMENTATION
This commit is contained in:
parent
d154183978
commit
85e0017a85
1 changed files with 2 additions and 2 deletions
|
@ -101,7 +101,7 @@ options:
|
||||||
|
|
||||||
reboot:
|
reboot:
|
||||||
description:
|
description:
|
||||||
- If the job should be run at reboot, will ignore minute, hour, day, and month settings in favour of @reboot
|
- If the job should be run at reboot, will ignore minute, hour, day, and month settings in favour of C(@reboot)
|
||||||
version_added: "1.0"
|
version_added: "1.0"
|
||||||
required: false
|
required: false
|
||||||
default: False
|
default: False
|
||||||
|
@ -113,7 +113,7 @@ examples:
|
||||||
- code: 'cron: name="an old job" cron job="/some/dir/job.sh" state=absent'
|
- code: 'cron: name="an old job" cron job="/some/dir/job.sh" state=absent'
|
||||||
description: 'Ensure an old job is no longer present. Removes any job that is preceded by "#Ansible: an old job" in the crontab'
|
description: 'Ensure an old job is no longer present. Removes any job that is preceded by "#Ansible: an old job" in the crontab'
|
||||||
- code: 'cron: name="a job for reboot" reboot=True job="/some/job.sh"'
|
- code: 'cron: name="a job for reboot" reboot=True job="/some/job.sh"'
|
||||||
description: 'Creates an entry like '@reboot /some/job.sh'
|
description: 'Creates an entry like "@reboot /some/job.sh"'
|
||||||
|
|
||||||
requirements: cron
|
requirements: cron
|
||||||
author: Dane Summers
|
author: Dane Summers
|
||||||
|
|
Loading…
Reference in a new issue