mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Update schedule.py
This commit is contained in:
parent
4f1471d7fb
commit
20b0462289
@ -92,6 +92,7 @@ def list_(show_all=False, return_yaml=True):
|
||||
else:
|
||||
return {'schedule': {}}
|
||||
|
||||
|
||||
def list_enabled(name):
|
||||
'''
|
||||
List a Job only if its enabled
|
||||
@ -109,6 +110,7 @@ def list_enabled(name):
|
||||
else:
|
||||
return {}
|
||||
|
||||
|
||||
def purge(**kwargs):
|
||||
'''
|
||||
Purge all the jobs currently scheduled on the minion
|
||||
|
Loading…
Reference in New Issue
Block a user