Hey All, really quick question. How can I set a Cr...
# ask-community
c
Hey All, really quick question. How can I set a CronClock schedule with a timezone? I wasn't clear on the docs on this
👍 1
k
Hey @chicago-joe, just add a timezone aware datetime to the start_date like:
Copy code
from prefect.schedules.clocks import CronClock  
import pendulum

clock = CronClock("0 1 0 0 1/5", start_date=pendulum.now("US/Eastern"))
👍 1
c
Awesome, thanks @Kevin Kho!! Btw I love pendulum, use it for EVERYTHING