Skip to content

Commit

Permalink
Merge pull request #25514 from garethgreenaway/25493_2015_8_schedule_…
Browse files Browse the repository at this point in the history
…add_documentation

fixes to schedule.add documentation in 2015.8
  • Loading branch information
jfindlay committed Jul 17, 2015
2 parents 1200d9d + 188015c commit 56d6735
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion salt/modules/schedule.py
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,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': 'Failed to add job {0} to schedule.'.format(name),
Expand Down

0 comments on commit 56d6735

Please sign in to comment.