Hello folks, I want to schedule my flow for every ...
# prefect-community
q
Hello folks, I want to schedule my flow for every midnight. I'm using CronClock which by default follows DST, What should I do if I want to use the timezone as per my deployment server or UTC?
j
If you pass a start_time to the schedule, its time zone will be used by the clock - so you could pass a UTC date time.
q
Hello @Jeremiah, According to docs there is no param
start_time
in Schedule class.
j
q
Ohh ok, I got confused because in previous message you said pass this param in schedules.... But no issues let me try..
๐Ÿ™‚
@Jeremiah is there any specific supported format???
j
Any datetime should work; we recommend using pendulum:
pendulum.datetime(2020, 5, 23)
q
Ohk, Thanks @Jeremiah ๐Ÿ‘