From acab732dc5afe0483b96d6db95f6303dc676cb6c Mon Sep 17 00:00:00 2001 From: Henry Lee Date: Mon, 17 Jun 2024 19:29:02 +0800 Subject: [PATCH] fix(ods): setup 2024 dags --- dags/ods/kktix_ticket_orders/kktix_dag.py | 4 ++-- dags/ods/kktix_ticket_orders/kktix_refund_dag.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dags/ods/kktix_ticket_orders/kktix_dag.py b/dags/ods/kktix_ticket_orders/kktix_dag.py index 83f4987..5597f48 100644 --- a/dags/ods/kktix_ticket_orders/kktix_dag.py +++ b/dags/ods/kktix_ticket_orders/kktix_dag.py @@ -10,13 +10,13 @@ DEFAULT_ARGS = { "owner": "davidtnfsh@gmail.com", "depends_on_past": False, - "start_date": datetime(2023, 6, 14, 0), + "start_date": datetime(2024, 6, 18, 0), "retries": 2, "retry_delay": timedelta(minutes=5), "on_failure_callback": lambda x: "Need to send notification to Discord!", } dag = DAG( - "KKTIX_TICKET_ORDERS_V6", + "KKTIX_TICKET_ORDERS_V7", default_args=DEFAULT_ARGS, schedule_interval="50 * * * *", max_active_runs=1, diff --git a/dags/ods/kktix_ticket_orders/kktix_refund_dag.py b/dags/ods/kktix_ticket_orders/kktix_refund_dag.py index 2d3c978..261e63a 100644 --- a/dags/ods/kktix_ticket_orders/kktix_refund_dag.py +++ b/dags/ods/kktix_ticket_orders/kktix_refund_dag.py @@ -10,13 +10,13 @@ DEFAULT_ARGS = { "owner": "henry410213028@gmail.com", "depends_on_past": False, - "start_date": datetime(2023, 4, 10, 4), + "start_date": datetime(2024, 6, 18, 0), "retries": 2, "retry_delay": timedelta(minutes=5), "on_failure_callback": lambda x: "Need to send notification to Discord!", } dag = DAG( - "KKTIX_TICKET_REFUND_V2", + "KKTIX_TICKET_REFUND_V3", default_args=DEFAULT_ARGS, schedule_interval="50 23 * * *", # At 23:50 (everyday) max_active_runs=1,