https://prefect.io logo
#prefect-community
Title
# prefect-community
n

Neil Natarajan

08/19/2022, 4:43 PM
What replaces the following logic in prefect 2.0
Copy code
schedule = IntervalSchedule(interval=timedelta(seconds=30))

with Flow("workflow", schedule=schedule) as workflow:
Is there a way to run a flow on an interval schedule using the
DaskTaskRunner
in prefect 2.0
c

Clint M

08/19/2022, 4:54 PM
It’s in the deployment yaml… here’s the docs on deployments https://docs.prefect.io/concepts/deployments/
here’s the docs on schedules https://docs.prefect.io/concepts/schedules/
so something like
prefect deployment build --interval 30
🙏 1
3 Views