Hey everyone,
I'm having some trouble, and I'm not sure what the cause is. I have my cron schedule set in my deployment file, and it is showing up on my UI Dashboard. However, Prefect is not adhering to it. Any ideas what might cause this? I know the time zone is correct, that's about all I can think to check.
✅ 1
j
Jake Kaplan
06/12/2023, 1:38 PM
Hey, can you give some more context about what that means? What's the schedule? Are runs being scheduled at all? What do those look like? etc.
d
Devin
06/12/2023, 2:04 PM
So I am using prefect local and I am using the cron schedule that you set for the deployment in the deployment.py file. The UI is showing the correct schedule (Screenshots Attached). As you can see the cron schedule should run every 10 minutes except between 4am - 6am. However, when we were looking into another issues we saw that the schedule was being followed (it is running between 4am-6am).
Devin
06/12/2023, 2:23 PM
Sorry forgot these, as you can see they are being scheduled but are running regardless:
Devin
06/12/2023, 2:26 PM
You know what, I have an error in my cron syntax. it was running up to 4:59. I needed to set it at 3. Thanks for your time.