Periodic Task Schedulers - djcelery.schedulers

class djcelery.schedulers.DatabaseScheduler(*args, **kwargs)
Changes

alias of PeriodicTasks

Entry

alias of ModelEntry

Model

alias of PeriodicTask

all_as_schedule()
get_schedule()
reserve(entry)
schedule_changed()
setup_schedule()
sync(*args, **kwargs)
update_from_dict(dict_)
class djcelery.schedulers.ModelEntry(model)
classmethod from_entry(name, skip_fields=('relative', 'options'), **entry)
is_due()
model_schedules = ((<class 'celery.schedules.crontab'>, <class 'djcelery.models.CrontabSchedule'>, 'crontab'), (<class 'celery.schedules.schedule'>, <class 'djcelery.models.IntervalSchedule'>, 'interval'))
next()
save()
save_fields = ['last_run_at', 'total_run_count', 'no_changes']
classmethod to_model_schedule(schedule)

Previous topic

Celery Loaders - djcelery.loaders

Next topic

Event Snapshots - djcelery.snapshot

This Page