Ben Muller

    Ben Muller

    1 year ago
    Hey community, In the python api you have the ability to run a flow locally, that has a schedule by adding
    flow.run(run_on_schedule=False)
    . I can't find this option for the cli when running
    prefect run -p my_flow.py
    What am I missing?
    Michael Adkins

    Michael Adkins

    1 year ago
    Hey Ben, that looks like an oversight. I think the
    prefect run
    command ought to run without a schedule by default and require an explicit
    --schedule
    flag to run repeatedly on a schedule. I'll open a feature request for this
    @Marvin open "Ignore schedules by default in local flow runs using
    prefect run
    "
    Marvin

    Marvin

    1 year ago
    Ben Muller

    Ben Muller

    1 year ago
    ah ok, thanks @Michael Adkins