https://prefect.io logo
d

dainslie

07/06/2023, 7:06 PM
Can a mistake be easily made with scheduling? E.g. schedule for production at 5pm, but because of time zone, it is 6pm?
j

Jeff Hale

07/06/2023, 7:10 PM
A deployment will run when you schedule it to run. You can see upcoming flow runs in the UI, so that could be helpful if you make a mistake.
d

dainslie

07/06/2023, 7:12 PM
Thanks. So can the scheduling be trusted, or would you recommend always checking the UI once a deployment has been scheduled?
j

Jeff Hale

07/06/2023, 7:14 PM
Up to, but it should be scheduled for whatever you create. If it’s a super-complex RRule schedule, I’d check it out, just to check my own logic.
e

Emil Christensen

07/06/2023, 7:19 PM
@dainslie you can also explicitly declare the timezone (which I would always recommend doing):
👍 1
d

dainslie

07/06/2023, 7:20 PM
Thanks chaps
e

Emil Christensen

07/06/2023, 7:20 PM
Copy code
schedule:
  cron: "0 0 * * *"
  timezone: UTC
^ Midnight UTC
j

Jeff Hale

07/06/2023, 7:20 PM
good call
🪩 1
d

dainslie

07/06/2023, 7:20 PM
🕺