faint-machine-61752
08/28/2024, 12:19 PMvictorious-rainbow-91536
08/28/2024, 3:50 PMfaint-machine-61752
08/29/2024, 6:57 AMfresh-elephant-21243
08/29/2024, 9:17 AMdaily_predict_run
from flytekit import (
LaunchPlan,
CronSchedule,
)
LaunchPlan.get_or_create(
name="daily_predict_run",
schedule=CronSchedule(schedule="0 0 * * *"),
workflow=wf,
fixed_inputs={"row_number_limit": 300 },
)
When I tried to activate the launch plan "my_version" (after a month, when the launch plan is no longer triggered), it turned out it's deactivated.
flytectl update launchplan -p flyte-sandbox -d development daily_predict_run --version="my_version" --activate
The following changes are to be applied.
--- before
+++ after
@@ -1,2 +1,2 @@
-state: 0
+state: 1
faint-machine-61752
08/30/2024, 7:54 AMhigh-accountant-32689
08/30/2024, 2:42 PMglamorous-carpet-83516
08/31/2024, 10:00 PMfresh-elephant-21243
09/02/2024, 7:08 AMhigh-accountant-32689
09/04/2024, 8:55 PM