Linux / Editorial solution guide
A scheduled report was not produced
Distinguish a missing timer activation from service failure or an unexpected result location.
Read-only knowledge base · No public comments
Recognize the symptoms
An expected lab report is missing after its scheduled time. The timer may appear in a unit list, but that alone does not prove its associated service completed or wrote the intended file. Record the time window, identity, and expected path before making changes.
Understand the likely causes
- The timer may be inactive in the intended user manager, its next calendar time may differ from the expectation, or the service may have been activated and its command failed. The command may also run with a different environment or write to another path. These are separate hypotheses requiring evidence.
Locate the timer and execution window
In a disposable lab, identify whether the unit belongs to the user or system manager and inspect the timer’s current state and next scheduled time in that same scope. Compare the machine clock and time zone with the expected schedule. A timer that is enabled is not necessarily active, and a user manager may not be running when expected. Preserve the unit names and observation time; do not enable or restart an unfamiliar production unit as a diagnostic shortcut.
systemctl --user list-timers --all
systemctl --user status lab-report.timer
These read-only commands assume the lab user manager and timer exist.
Inspect the service and its result
If activation occurred, inspect the matching service status and journal entries for that execution window. Compare the effective command, execution identity, working directory, and input paths with the intended contract. Check the result at the documented destination as the appropriate account. A successful exit status is useful evidence but does not prove the report is correct; inspect a harmless expected marker or other documented content. Avoid exposing credentials or real report contents in a shared incident record.
Correct one demonstrated cause
Reproduce the identified issue using synthetic input in the lab. For example, if a relative input path fails under the service, supply the intended absolute lab path and test the service independently before testing its timer. Record the prior unit and the authorized rollback procedure. Change only the proven cause; do not broaden permissions or set a global environment merely to suppress an unexplained error. If the scheduler behaves as configured but the report is wrong, investigate the application contract separately.
Verify activation and the original outcome
Repeat the original scheduled scenario in the lab with the same manager and identity. Check the next activation, the service result and fresh journal entries, then verify the expected output at the intended location. Also exercise a controlled missing-input failure and confirm that it is observable by the owner. Record what was changed and whether the original symptom cleared; a manual run alone does not prove the timer is correctly scheduled.
Verify the fix
Repeat the schedule and result check as the same account, inspect service status and the new journal window, and confirm a synthetic failure is observable without exposing sensitive data.
Keep it from recurring
- Document the owner, schedule, time zone, paths, execution identity, alerting, and rollback. Test the service independently and then test the timer after a lab restart against the recovery requirements.