What Should a Scheduled Workflow Do When Its Previous Run Is Still Active?

A report normally finishes before its next scheduled start. One morning, a slow dependency keeps it running. The next trigger arrives and another worker begins updating the same output. A schedule alone does not answer whether both runs should proceed.
An overlap policy defines that decision before the slow day occurs. It should reflect the meaning of the work, especially whether each period must be processed or only the newest result matters.
Identify the resource that needs protection
Write down what two runs could change together: one report file, one import cursor, a customer's open requests or a shared set of records. Protect that business scope rather than relying only on the name of a scheduled task.
Kubernetes CronJob documentation illustrates three concurrency policies: Allow, Forbid and Replace. It also states that the policy applies to jobs created by the same CronJob. Separate schedules can still overlap. These are Kubernetes semantics, not universal guarantees offered by every scheduler.
A manual rerun, recovery job or second scheduler may reach the same destination. Include those entry points in the design review. Preventing overlap in one screen does not establish exclusive access everywhere.
Choose a policy around the missed work
Allowing overlap can make sense when runs operate on disjoint inputs and have independent outputs. Skipping a trigger may be reasonable when the next run refreshes a current snapshot. Waiting may be necessary when every time window represents distinct work that must eventually complete.
Replacing an active run requires more care. Stopping its process does not prove that every external action it started has been reversed. Define what happens to partially written results and which evidence a replacement can reuse.
Illustrative example: snapshot versus period report
A fictional team has two scheduled reports. The first shows the current number of open tasks; a later snapshot can supersede an earlier one. The second summarizes each day's completed tasks; skipping Tuesday must not silently combine Tuesday with Wednesday.
The team chooses to skip overlapping refresh triggers for the snapshot and queue distinct dated requests for the daily report. Both display their actual covered period. The decision follows the information's meaning, not a blanket preference for fewer jobs.
Specify ownership and recovery
Create a run record with a unique ID, intended period, start time, active owner and observed state. If a lock or lease is used, document its scope and recovery rules. An expired heartbeat may justify investigation; it is not automatically proof that an old worker can no longer write.
Ask the implementer how a resumed or delayed worker is prevented from overwriting newer work. The answer should describe the actual storage and execution controls used, not only a timer.
Keep the scheduled time separate from the actual start time. This makes late execution visible and prevents a catch-up run from being mistaken for today's regular result.
Rehearse the overlap deliberately
Use a harmless test destination and delay the first run beyond the next trigger. Record which run starts, which waits or skips, and what output survives. Repeat with a manual run while the scheduled one is active.
Then interrupt a worker after partial progress. Verify that the next run either resumes from verified evidence or starts cleanly according to the contract. Check that the visible status explains any unresolved work.
A useful acceptance record contains the trigger times, run IDs, protected scope, expected overlap decision, actual decision and final output version. Include a condition for alerting when repeated skips or waits create a growing gap.
The goal is not to promise that schedules never collide. It is to make collisions predictable, observable and recoverable without silently losing a reporting period or repeating a business action.
Continue with How to Specify Time Zones for Recurring Business Workflows for the related planning decision.
FutureOS is in prelaunch. Use this guide to prepare a concrete project discussion; the published introduction describes the current project context.
Prepared with AI assistance. Primary sources checked on October 23, 2026. Examples and procedures are illustrative editorial guidance, not FutureOS product announcements or an independently reviewed assessment.



Comments