Example #1
0
File: api.py Project: thrbowl/crono
def every(*args, **kwargs):
    return _job.Job(trigger=triggers.every(*args, **kwargs))
Example #2
0
File: api.py Project: thrbowl/crono
def cron(*args, **kwargs):
    return _job.Job(trigger=triggers.cron(*args, **kwargs))
Example #3
0
File: api.py Project: thrbowl/crono
def after(*args, **kwargs):
    return _job.Job(trigger=triggers.after(*args, **kwargs))
Example #4
0
File: api.py Project: thrbowl/crono
def email(*args, **kwargs):
    return _job.Job(task='crono.tasks.email', args=args, kwargs=kwargs)
Example #5
0
File: api.py Project: thrbowl/crono
def message(*args, **kwargs):
    return _job.Job(task='crono.tasks.message', args=args, kwargs=kwargs)
Example #6
0
File: api.py Project: thrbowl/crono
def request(*args, **kwargs):
    return _job.Job(task='crono.tasks.request', args=args, kwargs=kwargs)
Example #7
0
File: api.py Project: thrbowl/crono
def log(*args, **kwargs):
    return _job.Job(task='crono.tasks.log', args=args, kwargs=kwargs)