possibly a dumb question, but we just now are gett...
# ask-community
z
possibly a dumb question, but we just now are getting to the point of running things on schedules so I’m running into this. I want to schedule a flow so that it will run on a schedule in prefect cloud, however i still want it to run right away when flow.run is invoked. How can I do that? The schedule I’m using is below:
Copy code
flow.schedule = CronSchedule("30 12 * * *")
k
Hey! This might help:
flow.run(_run_on_schedule_=False)
🙏 1
z
oh yup thats exactly what i was looking for
@Kevin Kho just FYI, the cron link in this section of the docs seems to be broken https://docs.prefect.io/core/concepts/schedules.html#simple-schedules
k
@Marvin open “Cron schedule link in Schedule Docs is Broken”
🔥 1
k
Thanks for mentioning!