django_celery_beat.tzcrontab

Timezone aware Cron schedule Implementation.

class django_celery_beat.tzcrontab.TzAwareCrontab(minute=u'*', hour=u'*', day_of_week=u'*', day_of_month=u'*', month_of_year=u'*', tz=<UTC>, app=None)[source]

Timezone Aware Crontab.

is_due(last_run_at)[source]

Calculate when the next run will take place.

Return tuple of (is_due, next_time_to_check). The last_run_at argument needs to be timezone aware.

nowfunc()[source]
class django_celery_beat.tzcrontab.schedstate(is_due, next)
is_due

Alias for field number 0

next

Alias for field number 1