API reference

airflow_cron re-exports its Airflow configuration and factory together with the underlying cron-pydantic models.

CronAirflowConfiguration

Cron configuration plus defaults for generated Airflow DAGs and tasks.

create_dags(config)

Convert enabled user-crontab jobs into airflow-pydantic DAG models.

CronSchedule

Five-field Vixie/Cronie schedule.

CronJobConfiguration

Command and schedule for one crontab entry.

CronConfiguration

Environment and named jobs rendered as one crontab file.

SpecialSchedule

alias of Literal['@reboot', '@yearly', '@annually', '@monthly', '@weekly', '@daily', '@midnight', '@hourly']

load_config(path)

load_airflow_config(path)