Hello `prefect deployment build` Is it possible to...
# ask-community
r
Hello
prefect deployment build
Is it possible to set the cron timezone with this command?
j
Yes just add a ‘—cron’ flag
r
Thanks. For example, this command would result in UTC. I want Asia/Tokyo.
Copy code
prefect deployment build demo.py:pipeline --cron "0 0 * * *"
j
ahh okay. Let me look more into that. It is possible to manually edit the deployment yaml file to add a timezone, but I'm not sure if it can be done with the deployment build cli command
r
After all. I see. I understand! I hope you can do it on command ! Thanks. That was very helpful.
j
@Rikimaru Yamaguchi There is also a timezone flag
Copy code
prefect deployment build demo.py:pipeline --cron "0 0 * * *" --timezone 'Asia/Tokyo`
🔥 1
r
Amazing! Best for. I’ll give it a try.
👍 1
It was possible! Thank you so much.
j
You're welcome Rikimaru!