Dominik Wagner08/01/2022, 3:19 PM
command? i.e. i have something like this in a bash script:
prefect deployment build…
And I’d like to add something like
prefect deployment build flows/dbt_flow.py:dbt_primary_flow \ --name prod_flow \ --tag dbt \ --tag prod \ --tag daily \ -sb gcs/gcs-block \ -ib kubernetes-job/k8s-block
If that’s not possible I guess I have to manually edit the deployment.yaml - if that’s the case, can I just put a cron expression in there, or do I need something else? I can’t find any examples in the docs, but maybe I’m just blind? 🙃
--schedule "cron/0 7 * * */Europe/Berlin"
Jeff Hale08/01/2022, 3:40 PM
or the GUI. Here’s how it looks in the yaml file:
Note that timezones are optional and RRule is only supported in the deployment YAML file, currently.
schedule: interval: 600 timezone: America/Chicago schedule: cron: 0 0 * * * timezone: America/Chicago schedule: rrule: 'FREQ=WEEKLY;BYDAY=MO,WE,FR;UNTIL=20240730T040000Z'
Dominik Wagner08/01/2022, 3:43 PM
Jeff Hale08/01/2022, 3:52 PM
Benny Warlick08/01/2022, 9:33 PM
Jeff Hale08/01/2022, 10:35 PM
Benny Warlick08/01/2022, 10:53 PM
Dominik Wagner08/02/2022, 6:54 AM
step all together?
prefect deployment build
Benny Warlick08/02/2022, 2:10 PM