[Windows Desktop] Scheduled tasks wake, acknowledge or report status, then stop without completing assigned work
Primary user-reported failure: scheduled execution stops prematurely
The user's primary complaint is that scheduled tasks repeatedly wake briefly, acknowledge or provide a status response, stop without doing the assigned work, and wait for the next scheduled run.
The original issue focused too heavily on timer cadence. Please triage the execution/completion behavior as the primary concern. A timer firing successfully is not enough if the requested work is left unperformed. The user reports this as a recurring pattern across scheduled tasks; this statement describes the user's experience, not a measured failure rate or a proven universal runtime limit.
Two independent acceptance tracks
A — Execution: a delivered wake must perform its assigned operation or establish a genuine blocked/failed outcome.
B — Cadence: the completion-relative delays and unexplained gap remain open even if execution improves. Passing one track must not be treated as resolving the other.
The previously published timing evidence is reproduced here for visibility. Times are UTC; the recurrence was 30 minutes.
| Scheduled start | Immediately preceding completion | Delay |
|---|---|---|
| Sep 11 22:35:49.702 | Sep 11 22:05:32.943 | 1,816.759 s |
| Sep 11 23:39:50.634 | Sep 11 23:09:21.892 — owner turn | 1,828.742 s |
| Sep 12 00:10:51.304 | Sep 11 23:40:23.121 | 1,828.183 s |
| Sep 12 00:41:21.885 | Sep 12 00:11:14.106 | 1,807.779 s |
| Sep 12 01:12:22.415 | Sep 12 00:42:13.314 | 1,809.101 s |
The first start-to-start interval is 64m 0.932s, with no target-task start between 22:49:48.055 and 23:09:08.447. Completion/activity anchoring remains a hypothesis. The analytical fixed-rate deadline is not a recovered due record.
For track B, retain due occurrences across busy admission, record deferral/retry/coalescing, and fence by schedule revision. Update last_run_at only after accepted start, with a correlated turn ID; use a separate attempted-at field for attempted admission. Test rejected and ambiguous submissions so they cannot masquerade as a successful run or cause duplicate execution.
Requested action from OpenAI
Please investigate the scheduled execution and completion path, provide a supported mitigation, and identify the release containing a verified fix when available.
Expected behavior:
- Perform the required check or authorized assignment before completing the scheduled invocation.
- Distinguish an actual no-change result from a check that was never performed.
- Keep notification suppression separate from execution success: a quiet result must not substitute for doing the work.
- For an execution assignment, continue beyond acknowledgment or preliminary status checks until it is complete or a real blocker is established.
- Surface unavailable access, approval requirements, skipped work and failures explicitly. Preserve approval boundaries, newer owner instructions and protection against duplicate actions.
Required regression tests and before/after evaluation
These are proposed tests, not claimed as executed.
- Schedule a harmless local fixture read, with notification only when its value changes. Change the fixture before a wake and verify that the invocation actually reads and observes it.
- Assert the required postcondition, not response text. For monitoring, independently verify the observation and comparison against the fixture version. For a multi-step execution task, assert the required durable state transition/artifact or an independently substantiated blocked/failed outcome tied to the operation. “Done,” “no change,” or “blocked” text alone must not pass.
- Keep the fixture unchanged: the read/comparison still occurs while notification remains quiet.
- Make access unavailable: require an explicit failed/blocked outcome rather than a successful no-change claim. Distinguish actual approval denial, reviewer timeout, cancellation and absence of an answerer.
- Test an authorized multi-step assignment to catch acknowledgment-only completion and termination after a preliminary status check. Preserve newer owner instructions, approval boundaries and duplicate-work protection.
- Exercise long existing conversations before and after applicable local/remote compaction, and both supported automation input paths. Refresh mutable priorities and ensure the latest applicable objective survives; do not assume every compaction mode uses the same history limit.
- For cadence separately, test idle delivery, owner input before due, sustained sub-interval activity, busy deferral, restart, coalescing, concurrent dispatchers, pause/edit races, rejected admission and lost submission acknowledgment.
Repeated evaluation is required: measure execution-failure rate before and after the change across repeated, comparable scheduled invocations. Define failure as missing the independently verified required postcondition within the test bound, without a substantiated permitted blocked outcome. Publish sample size, model/build, prompt/state controls and counts for success, justified block, skipped/unattempted work, error and timeout. Compare matched manual controls that require the same work; ordinary conversational owner turns are not an equivalent baseline. Record due-but-not-started failures separately for cadence.
Zero tool calls and DONT_NOTIFY are useful diagnostics, not standalone failure labels. A history projection can omit tool wrappers; validate call counts against original execution records. A small observed difference between scheduled and manual samples is not causal proof.
Approval and context paths requiring targeted coverage
The public source provides specific test targets, but not a confirmed cause of every incomplete wake:
- Exec policy returns Forbidden for certain approval-requiring cases under
Never, while other commands can still run within the sandbox. MCP approval can return an explicit denial under that policy. Verify that scheduled outcome reporting retains the actual reason. The examined September turns instead usedon-requestwith an automatic reviewer. - A dropped approval waiter can resolve to Abort. Turn handoff intentionally clears process-local waiters. However, approval handling distinguishes Abort/TurnAborted from timeout and user denial, and cancellation ordering already tries to prevent a spurious rejection. Test the full unattended lifecycle and preserve reason/provenance; do not assume a human must answer when an automatic reviewer is configured.
- Test a legitimately authorized self-pause under each applicable review policy, including unavailable reviewer and cancellation. A tool's prompting declaration alone does not establish that self-pause always fails unattended.
- Local compaction has a 20,000-token user-message budget in that path. It is not a universal description of every remote compaction mode or proof of lost instructions in this incident. Treat compaction and stale-priority reinjection as companion regression cases, not established independent causes.
Relation to the duplicate suggestion
The bot suggested #44123, which concerns a timing gap after a schedule update. The primary complaint here concerns failure to carry out work after waking. Please keep that distinction during triage; correcting recurrence timing alone would not address the user's reported behavior.
The previously published evidence and its limitations are preserved below. No new private-log excerpts or private-task details are added in this update.
Previously published timing evidence, source references and limitations
Summary
A thread-attached 30-minute heartbeat showed a 64-minute start-to-start gap. Across five examined wakes, each start occurred approximately 30 minutes after the immediately preceding task turn completed—including an intervening owner turn.
This is an observed incident with independently recomputed timestamps, not a deterministic reproduction of a dropped occurrence. Completion/activity anchoring is the leading explanation; intentional fixed-delay semantics, deadline reset, and other deferral mechanisms cannot be distinguished from the available records.
Please clarify the intended interval semantics and expose occurrence-level delivery outcomes. If “every 30 minutes” is fixed-rate, unrelated task activity should not continually postpone the deadline.
Environment
- Windows 11, OS version
10.0.26200.0. - Installed/running package at submission-time inspection:
OpenAI.Codex_26.903.9818.0_x64. This is not independently established as the exact package revision at every incident timestamp. - Model in examined turns:
gpt-6-astra. - Local heartbeat attached to an existing long-running task.
- Saved recurrence:
RRULE:FREQ=MINUTELY;INTERVAL=30. - Examined execution policy:
on-request, reviewerauto_review, workspace-write, restricted network. - Local time zone: America/New_York. All timestamps below are UTC.
- Public source reviewed at
944d6fd1ba4baab69dbedd205282dc72ec20abb5; this source revision is not asserted to match the installed binary.
Expected behavior
An interval automation should have understandable, stable scheduling semantics. If due while its task is busy, it should retain pending work and report the deferral, then run within a documented bound after admission becomes possible. If multiple checks are coalesced, that disposition should be visible.
The user should be able to distinguish a planned deadline, an attempted submission, an accepted turn, a completed turn, and an actionable result. A last-run timestamp alone is insufficient.
Actual timing
These are lifecycle timestamps from the original task rollout, not estimates from the UI.
| Scheduled start (UTC) | Immediately preceding turn completion (UTC) | Delay from completion |
|---|---|---|
| Sep 11 22:35:49.702 | Sep 11 22:05:32.943 | 1,816.759 s |
| Sep 11 23:39:50.634 | Sep 11 23:09:21.892 — owner turn | 1,828.742 s |
| Sep 12 00:10:51.304 | Sep 11 23:40:23.121 | 1,828.183 s |
| Sep 12 00:41:21.885 | Sep 12 00:11:14.106 | 1,807.779 s |
| Sep 12 01:12:22.415 | Sep 12 00:42:13.314 | 1,809.101 s |
The interval from 22:35:49.702 to 23:39:50.634 is 64m 0.932s.
For a fixed-rate interpretation, 23:05:49.702 would be the next analytical deadline after the first start. That is not a recovered persisted due timestamp.
The Governor task completed a turn at 22:49:48.055 and had no intervening task start until an owner turn at 23:09:08.447. Therefore continuous execution of that task does not explain the entire interval containing the analytical deadline.
Local logs contain activity in every five-minute bucket from 22:30 through 23:45. The 23:05–23:10 bucket contains 89 records from four processes. This weakens a simple whole-host outage explanation, but does not prove uninterrupted uptime or exclude a short dispatcher stall. No usage-cap error was identified as the cause of this gap.
What the retained state can and cannot establish
Read-only inspection found:
- Actual heartbeat starts in the rollout and canonical task history.
- Zero rows for this automation in the inspected
automation_runstable. This does not mean the heartbeat never ran; it means that table did not provide its occurrence history. - Submission logs under general session logging targets, including incoming heartbeat payloads. No matched planned-due/admission/deferral/disposition chain was recovered.
- No occurrence ID or planned-due field identified in the inspected incoming payloads.
- The final saved
last_run_atwas 70 ms before the final recorded lifecycle start. That sample cannot prove whether a failed attempt would also advance it. - The automation was later paused and remains paused. Current
next_run_at = nulland an empty queue snapshot are not evidence of historical delivery loss.
The investigation did not unpause the production automation or alter permissions to reproduce the incident.
Workflow leading to the observation
- Use a recurring 30-minute heartbeat attached to a persistent local task.
- Continue ordinary owner interactions between scheduled checks.
- Compare scheduled starts with both previous scheduled starts and the most recent turn completions.
- Observe the timing above and the lack of an occurrence-level reason for the longer interval.
This sequence documents what happened. A controlled minimal reproduction is still needed; it has not been demonstrated that every owner message resets the timer.
Suggested maintainer test: use a fake clock around the actual dispatcher, send owner input shortly before due time, then repeat with sustained sub-interval activity. Compare behavior against a fully idle control. Include busy admission, restart, coalescing and pause/edit races.
Public source boundary and narrow investigation direction
The public core already exposes start-if-idle and typed admission outcomes:
These mechanisms do not prove that the Desktop dispatcher drops refused work. The recurrence dispatcher was not located in the inspected public checkout.
Please investigate whether next due is anchored to scheduled time, last completion, or last activity, and how NotIdle/PendingTriggerTurn are retained or retried. If fixed-rate delivery is intended, a narrow repair would preserve due-occurrence identity across admission attempts, fence by schedule revision, and avoid resetting the deadline on unrelated input. After an ambiguous submission timeout, reconcile the occurrence with its turn before replaying it to avoid duplicate actions.
Useful diagnostic fields: automation and occurrence identity, schedule revision, planned due, attempted/accepted/start/completion timestamps, turn identity, admission outcome, retry reason and coalesced count.
Related observations: not asserted as the timer's cause
The same task also exhibited these separately evidenced behaviors:
- Two owner instructions ended with acknowledgment-only responses and zero tool calls. These were owner turns, so they do not establish a scheduler-only model failure.
- Subsequent scheduled checks read usage and room state without advancing dependent work. Some quiet monitoring was consistent with the saved instructions; no-tool/no-edit counts are not a failure-rate metric.
- All 96 indexed automation inputs were
automation_updatefunction outputs without a call ID. The public toolOutput branch constructs that shape. No strict-provider HTTP 400 was observed in this native-Astra incident. - Scheduled filesystem profiles contained 18 entries versus 11 for manual turns, but both resolved to the same 11 unique entries, including project write access. A specific automatic-review rejection was recorded; lost human approval or a blanket permission downgrade was not proved.
- A later compaction rewrite occurred after the examined no-op checks. It does not prove that earlier instructions were erased.
These observations explain why the user experiences unreliable unattended progress, but should not be collapsed into one unverified root cause. No patch, end-to-end fix, or zero-regression guarantee is claimed.
Related issues / duplicate check
- #44123: macOS 25-minute heartbeat with an unexplained next-run gap after a schedule update. This adds a Windows completion-relative sequence and an identified idle interval; please consolidate if the same underlying behavior is already tracked.
- #44723 and #44519: separate unpaired-tool-output/provider failures.
- #41995: scheduled NOTIFY result visibility after reload.
- #29610: permission snapshot/default fallback report; this incident did not reproduce effective access loss.
- #37556: background task-management calls hanging; no pending call explains the zero-call owner acknowledgments here.
- #43632: scheduled task answers an older request; related symptom, not a demonstrated common cause.
Prepared with GPT-6 Astra from read-only original-record inspection and public-source review. Only sanitized timestamps, settings and aggregate observations are included. Raw conversations, private project prompts and paths, credentials, account details, and task/automation identifiers are omitted.
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
- #44123
Powered by Codex Action
Clarification for triage: I have updated the title and opening description to reflect the primary user-reported failure: scheduled tasks wake, acknowledge or provide status, then stop without completing the assigned work. The timing gap is now secondary evidence. The suggested duplicate #44123 concerns recurrence timing after an update; it does not capture this reported failure after a wake. Please investigate scheduled execution/completion, distinguish unperformed checks from successful quiet runs, and provide a supported mitigation. The updated description includes proposed regression cases; they are not represented as already executed tests.
The acceptance criteria now require independently verified task postconditions or substantiated blocked outcomes; response text alone must fail. They also require repeated before/after execution-failure measurements with matched manual controls, not zero-tool-call counts used as a failure rate. The recomputed timing table is now visible near the top, with cadence kept as an independent acceptance track and last_run_at advancing only on accepted start. Source-linked approval lifecycle and compaction cases were added as regression targets with their limits stated. Please triage both execution and cadence, and advise on a supported mitigation.
Additional Windows Desktop reproduction: standalone cron stops after its first automatic compaction
I observed the same premature completion in two standalone local Codex Desktop cron runs. Both runs started on schedule and made real progress on a multi-stage Unity Editor QA task. At the first automatic compaction, the active scheduled instructions were no longer present in the visible replacement history. After compaction, the assistant saved a handoff/checkpoint and ended the turn. Neither run delivered any of the seven requested reports.
| Run | Desktop bundled CLI | Observed outcome |
|---|---|---|
| Scheduled run 1 | 0.169.1 |
Stopped after about 55 minutes; 0/7 reports. |
| Scheduled run 2 | 0.171.0-alpha.13 |
Stopped after about 52 minutes; 0/7 reports. It had already reread the complete task instructions after compaction and identified an actionable next step. |
| Manual comparison | 0.169.1 |
A directly submitted, related QA task ran for 6 h 55 min in one turn, survived three compactions, and published and verified all 3 requested reports. Each compaction retained the original user message. |
In both scheduled rollouts, the original assignment arrived as an automation_update function_call_output. The visible replacement_history did not preserve that tool output or the full assignment. The generated handoff described saving progress rather than carrying out the remaining work. Tool calls still worked after compaction; the assistant produced a final response and the runtime recorded task_complete. Neither run recorded a timeout or cancellation.
All three runs used gpt-6.2-sol with the same configured non-default model provider. Scheduled run 2 and the manual comparison both used xhigh; scheduled run 1 used high. The manual comparison used an existing test account and covered a different set of stages, so it is not a controlled A/B test. I have not reproduced this specific cron case with the built-in provider.
Expected: The active scheduled assignment survives automatic compaction and continues while work remains executable. A checkpoint is not completion; an actual blocker should be reported as incomplete.
The instruction-delivery comparison in #43632 is especially relevant: https://github.com/openai/codex/issues/43632#issuecomment-5642436362. The handoff-to-task_complete sequence also matches #16042. Please include standalone local cron in the compaction regression tests, including the case where the assistant rereads the original task but still prematurely ends the turn.
A related pattern occurs in recurring ChatGPT automations intended to perform incremental engineering work: multiple scheduled runs can return substantially unchanged progress reports without producing verifiable new results. This is a user-reported symptom, not a confirmed reproduction of the Windows-specific cadence issue above. Please consider distinguishing trigger success from task completion, persisting verified progress across runs, and exposing explicit no-progress/blocked outcomes with actionable reasons. Repeated no-progress runs should be detectable and should not be presented as successful completion. The exact client and underlying cause are not established.
I am experiencing a similar execution/completion problem with hosted ChatGPT Scheduled Tasks (Plus), rather than a Windows Desktop heartbeat. This may be a different underlying implementation; I am adding evidence here because the primary symptom matches and the contribution guide asks us to avoid duplicates.
I have spent roughly two months revising prompts, narrowing responsibilities, and reorganizing automations. The issue persists across unrelated read-only research tasks and development workflows. Four new recurring tasks were configured on Nov 28, 2026. Their first runs on Nov 30 show the following (UTC, rounded elapsed times from recorded start/end):
| Scheduled UTC | Assignment | Elapsed | Recorded status | Functional outcome |
|---|---|---|---|---|
| 11:00 | Research current AI models and benchmarks | 15 s | completed | BLOCKED; zero external sources verified, zero candidates evaluated, no specific error |
| 12:30 | Market/growth research | 23 s | completed | PARTIAL; some evidence reported, key validation omitted |
| 14:00 | Research current freelance opportunities | 13 s | completed | BLOCKED; zero verified opportunities; no concrete failure reported |
| 15:30 | Cybersecurity research | 20 s | completed | PARTIAL; official advisories and applicability not verified |
Delivery status is unknown for all four; I have not received the expected updates. An earlier development task on Nov 24 also reported identifying GitHub tools but not invoking the relevant operations, with no verified technical or permission blocker. On Nov 28 a separate development task reported an incomplete candidate search and no requested deliverable. These are recorded assistant outcomes, not raw tool traces. A run ending quickly is not itself proof of a runtime defect; the concern is the combination of repeated incomplete work and absent actionable diagnostics.
Expected: execute the assigned supported operations or return an explicit, substantiated blocker (unavailable tool, permission, quota, timeout, actual operation error, etc.). Separate invocation completion from task outcome, distinguish a verified no-result from unperformed research, and expose notification delivery independently.
Requested action: please triage the hosted Scheduled Tasks path as well as the desktop path; determine whether model routing, usage limits, tool availability, or runtime termination explain the behavior; provide a supported workaround and a verified fix or clear product limitation. A minimal regression test could compare the same authorized read-only public-source lookup in an interactive chat and in a scheduled task, verifying actual tool execution, source evidence, disposition, and delivery. This test is proposed, not yet performed.
This is an included feature of a paid plan, and repeatedly revising prompts without a way to diagnose failures is not a sustainable workaround. Private task/run IDs and conversation links can be supplied through authenticated OpenAI Support. No account-specific restriction or common root cause is asserted.