Orion with Cloud 2.0: Hello, i have a deployment s...
# prefect-server
c
Orion with Cloud 2.0: Hello, i have a deployment set up with a cron scheduler (runs every 5 minutes). I noticed that if i shut down the agent, lets say for an hour or so, and start it up again, all the scheduled runs during that hour will be launched. Is possible to limit this behavior? Like if scheduled run is like X minutes late, mark it as a failure?
1
Example of deployment
Copy code
DeploymentSpec(
    flow_location="/path/to/flow/flow.py",
    name="flow",
    schedule=CronSchedule(
        cron="*/5 * * * *",
    ),
    flow_runner=SubprocessFlowRunner(),
    flow_storage=FileStorageBlock(base_path='/path/storage')
)
Running on a VM
k
Ah we would need Automations from 1.0 to make it’s way to 2.0. That is currently work in progress.
c
Gotcha, good to know its in the works!