Hi folks, Is there a way to ignore the schedule of...
# ask-community
h
Hi folks, Is there a way to ignore the schedule of a flow when running using the CLI
prefect run
for a local flow?
a
Hi @Hawkar Mahmod, the default behavior of the
prefect run
in CLI is to ignore the schedule and run immediately, and you can then explicitly set the
--schedule
flag, if you want to run it on schedule attached to the flow. You can find more here.
upvote 1
if you want to display logs while you run it from CLI, you need to add
Copy code
--watch
h
Thanks @Anna Geller, I was on 0.15.1 so I didn’t have the --schedule flag available to me. Upgraded now.
upvote 1