What replaces the following logic in prefect 2.0 `...
# ask-community
n
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
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