https://prefect.io logo
Title
d

David Frischer

04/23/2023, 9:20 AM
Hey Prefect community ! Quick question that I have difficulty to find with the document. I am currently creating deployment through the CLI like :
prefect deployments build \
    my_flow.py:my_func_flow \
    --name super-cool-deployment \
    --path /usr/src/app \
    --work-queue test \
    --skip-upload \
    --apply
I would like to add 30m interval with max 15 runs. Can I do it through terminal ? Or do I need to use a yml file ? Thanks in advance community !
1
f

flapili

04/23/2023, 9:22 AM
I think you could use calendar rule
but you can't use the prefect cli for that
d

David Frischer

04/23/2023, 9:48 AM
ok thanks for the answer ! I'll check
s

Serina

04/24/2023, 12:13 AM
d

David Frischer

04/24/2023, 7:17 AM
Ah yes easy ! Thank you !
f

flapili

04/24/2023, 7:18 AM
my bad, didn't know rrule could be add via cli 😅
anyway you will need a runtime to compute the rrule