django_celery_beat.schedulers

Beat Scheduler Implementation.

class django_celery_beat.schedulers.DatabaseScheduler(*args, **kwargs)[source]

Database-backed Beat Scheduler.

Changes

alias of PeriodicTasks

Entry

alias of ModelEntry

Model

alias of PeriodicTask

all_as_schedule()[source]
install_default_entries(data)[source]
reserve(entry)[source]
schedule
schedule_changed()[source]
setup_schedule()[source]
sync()[source]
update_from_dict(mapping)[source]
class django_celery_beat.schedulers.ModelEntry(model, app=None)[source]

Scheduler entry taken from database row.

classmethod from_entry(name, app=None, **entry)[source]
is_due()[source]
model_schedules = ((<class 'celery.schedules.crontab'>, <class 'django_celery_beat.models.CrontabSchedule'>, u'crontab'), (<class 'celery.schedules.schedule'>, <class 'django_celery_beat.models.IntervalSchedule'>, u'interval'), (<class 'celery.schedules.solar'>, <class 'django_celery_beat.models.SolarSchedule'>, u'solar'))
next()
save()[source]
save_fields = [u'last_run_at', u'total_run_count', u'no_changes']
classmethod to_model_schedule(schedule)[source]