Vitaly Shulgin
01/20/2021, 2:34 PMMariia Kerimova
01/20/2021, 2:39 PMMariia Kerimova
01/20/2021, 2:40 PMVitaly Shulgin
01/20/2021, 2:42 PMVitaly Shulgin
01/20/2021, 2:42 PMVitaly Shulgin
01/20/2021, 2:46 PMMariia Kerimova
01/20/2021, 3:27 PMMariia Kerimova
01/20/2021, 4:36 PMset_flow_group_schedule
mutation {
set_flow_group_schedule(input:
{flow_group_id: "<flow_group_id>",
cron_clocks: [{cron: "*/5 * * * *"}]}) {
success
}
}
Ruslan
01/20/2021, 5:48 PMVitaly Shulgin
01/20/2021, 6:04 PMVitaly Shulgin
01/20/2021, 6:04 PMVitaly Shulgin
01/20/2021, 6:06 PMMariia Kerimova
01/20/2021, 6:23 PMVitaly Shulgin
01/20/2021, 6:41 PMMariia Kerimova
01/20/2021, 6:51 PMVitaly Shulgin
01/20/2021, 7:34 PMVitaly Shulgin
01/20/2021, 7:36 PMVitaly Shulgin
01/20/2021, 7:38 PMVitaly Shulgin
01/20/2021, 7:47 PMVitaly Shulgin
01/20/2021, 7:48 PMVitaly Shulgin
01/20/2021, 8:35 PMJim Crist-Harif
01/20/2021, 9:26 PMread from database some data, and, based on that data, crate flow with specific name to be executed with specific parameter during next dayIs the flow different for each run, or the same (or one of a few existing flows)? If you don't need a new dynamic flow for each run, just a dynamic run of it with specific parameters/a scheduled time you could make use of
StartFlowRun
to schedule a flow run for a specific flow with specific parameters at a scheduled time in the future. This would remove the need for dynamic registration of new flows, as you'd only be creating new flow runs for a specific flow.Vitaly Shulgin
01/21/2021, 7:01 AMScheduleFlowRun
, where the regular prefect schedules, clocks and etc. could be used, is there any plan for something like ScheduleFlowRun
?Jim Crist-Harif
01/21/2021, 2:37 PMScheduleFlowRun
to set a new schedule on a flow run that doesn't really make sense (as schedules go on the flow).
StartFlowRun
can schedule a new flow run to run in the future at a specified time, giving you the option of determining that time using any method you choose. In what way is this insufficient for your use case?