mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #25513 from garethgreenaway/25493_2015_5_schedule_add_documentation
fixes to schedule.add documentation in 2015.5
This commit is contained in:
commit
daf03efb7c
1 changed files with 1 additions and 1 deletions
|
@ -300,7 +300,7 @@ def add(name, **kwargs):
|
|||
|
||||
salt '*' schedule.add job1 function='test.ping' seconds=3600
|
||||
# If function have some arguments, use job_args
|
||||
salt '*' schedule.add job2 function='cmd.run' job_args=['date >> /tmp/date.log'] seconds=60
|
||||
salt '*' schedule.add job2 function='cmd.run' job_args="['date >> /tmp/date.log']" seconds=60
|
||||
'''
|
||||
|
||||
ret = {'comment': [],
|
||||
|
|
Loading…
Add table
Reference in a new issue