# `django_celery_beat.tzcrontab`

Timezone aware Cron schedule Implementation.

class django_celery_beat.tzcrontab.TzAwareCrontab(minute='*', hour='*', day_of_week='*', day_of_month='*', month_of_year='*', tz=datetime.timezone.utc, app=None)

  Timezone Aware Crontab.

  is_due(last_run_at)

    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()

class django_celery_beat.tzcrontab.schedstate(is_due, next)
  is_due

    Alias for field number 0

  next

    Alias for field number 1