Skip to content

Commit

Permalink
Define cron presets matching our SLA office hours
Browse files Browse the repository at this point in the history
Send PR to Airflow to make this configurable
  • Loading branch information
elgalu committed Jul 25, 2018
1 parent cb78014 commit 06e1767
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions airflow/utils/dates.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,12 @@


cron_presets = {
'@hourly': '0 * * * *',
'@daily': '0 0 * * *',
'@weekly': '0 0 * * 0',
'@monthly': '0 0 1 * *',
'@yearly': '0 0 1 1 *',
'@hourly': '45 * * * *',
'@daily': '45 9 * * *',
'@week_days': '45 9 * * MON-FRI',
'@weekly': '45 9 * * 0',
'@monthly': '45 9 10 * *',
'@yearly': '45 9 10 1 *',
}


Expand Down

0 comments on commit 06e1767

Please sign in to comment.