Skip to content

Cron overlap

When a workflow is scheduled (for example with SchedulerCron), a new run may be triggered while the previous one is still IN_PROGRESS. Overlap defines what Dotflow should do in that case. Strategies are defined by TypeOverlap.

Strategies

Strategy Meaning
skip (default) Do not start a new run if the previous run has not finished.
queue Defer the new run until the previous completes (serialized backlog).
parallel Allow another run to start concurrently (use with care for shared resources).

Choosing the right overlap avoids double work, database races, and duplicate side effects in production pipelines.

Where to configure

Overlap is set on the scheduler (see Scheduler cron). For end-to-end patterns (cron + storage + resume), see Scheduled pipeline with resume.

References