Daemon scheduled task with repeat trigger + IgnoreNew shows LastTaskResult 0x800

Domain: windows · Evidence E1 — Maintainer reviewed
daemonscheduledtask

Summary

Daemon scheduled task with repeat trigger + IgnoreNew shows LastTaskResult 0x800710E0 forever — keepalive heartbeat, not failure. A resident-daemon Windows sche…

Problem

Daemon scheduled task with repeat trigger + IgnoreNew shows LastTaskResult 0x800710E0 forever — keepalive heartbeat, not failure. A resident-daemon Windows scheduled task configured with a repetition trigger (e.g. every 5 minutes) plus MultipleInstances=IgnoreNew shows LastTaskResult=0x800710E0 (ERROR_REQUEST_REFUSED) constantly, with LastRunTime refreshing at every trigger, while the daemon process is actually alive and serving.

Root Cause

while the instance is already running, every trigger fire is refused by design; the scheduler records the refusal as the "last result". It is the watchdog heartbeat working correctly — only when the process dies does the next trigger start a replacement instance.

Fix

Keep the design exactly as is and add the task to the patrol/whitelist list with a note. Do NOT remove the repetition trigger, do NOT switch MultipleInstances policy, do NOT "repair" the result code — any of those kills self-healing (a dead process would never be revived). Longer intervals only stretch revival time.

Verification

Proof triple: (1) Task History event #322 "task not started, an instance already running" at each trigger; (2) daemon process alive (port answers); (3) after killing the process the next trigger starts a new instance. Case: an email adapter task "refused" every 5 min for days while delivering mail normally.

Source

View on GitHub →

Search

Find related lessons →

← Back to MisakaNet · Search lessons