Channels
announcements
ask-marvin
best-practices-coordination-plane
data-ecosystem
data-tricks-and-tips
events
find-a-prefect-job
geo-bay-area
geo-berlin
geo-boston
geo-chicago
geo-colorado
geo-dc
geo-israel
geo-japan
geo-london
geo-nyc
geo-seattle
geo-texas
gratitude
introductions
marvin-in-the-wild
pacc-clearcover-june-12-2023
pacc-may-31-2023
ppcc-may-16-2023
prefect-ai
prefect-aws
prefect-azure
prefect-cloud
prefect-community
prefect-contributors
prefect-dbt
prefect-docker
prefect-gcp
prefect-getting-started
prefect-integrations
prefect-kubernetes
prefect-recipes
prefect-server
prefect-ui
random
show-us-what-you-got
Powered by
Title
m
Mark NS
02/15/2023, 12:56 PM
Hi, quick question - what would be the best/idiomatic way to run a flow repeatedly? ie. as soon as it completes, start it again.
r
redsquare
02/15/2023, 1:01 PM
You could create a flow run at the end to run another standalone instance of the flow - as in not a child/sub flow
https://docs.prefect.io/api-ref/orion/api/deployments/#prefect.orion.api.deployments.create_flow_run_from_deployment
m
Mark NS
02/15/2023, 1:03 PM
Thanks
@redsquare
I'll check that out
#prefect-community
Join Slack