Skip to content

Commit

Permalink
clean up logs daily
Browse files Browse the repository at this point in the history
  • Loading branch information
ErnestaP committed Dec 15, 2023
1 parent 88ed42a commit f571135
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dags/clean/cleanup_logs.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
logs_dir = f"{AIRFLOW_HOME}/{LOG_DIR}"


@dag(start_date=pendulum.today("UTC").add(days=-1), schedule="@monthly", catchup=False)
@dag(start_date=pendulum.today("UTC").add(days=-1), schedule="@daily", catchup=False)
def cleanup_logs():
BashOperator(
task_id="cleanup_logs",
Expand Down

0 comments on commit f571135

Please sign in to comment.