Update schedule.py

This commit is contained in:
puneet kandhari 2015-06-30 11:28:57 -05:00
parent 4f1471d7fb
commit 20b0462289

View File

@ -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