systemd Timer Enabled But Never Runs Scheduled Service

Timer unit lacked `[Install] WantedBy=timers.target` or was enabled without `--now`.

Runs locally in browser Free · No login Independently Verified 2026-11-25 v4.1.0
Identifier: systemd Timer Enabled But Never Runs Scheduled Service Platform: Linux
Common Root Causes:
  • Timer unit lacked `[Install] WantedBy=timers.target` or was enabled without `--now`.

Interactive Diagnostic Checklist

Verified Solutions:
  1. Add `WantedBy=timers.target`, run `systemctl daemon-reload`, and `systemctl enable --now <name>.timer`.
Safe Diagnostic Command:
systemctl list-timers --all
Warning: Verify configuration changes in staging or with dry-run flags (e.g. nginx -t) before reloading production services.

Technical Explanation

Timer unit lacked `[Install] WantedBy=timers.target` or was enabled without `--now`. Recommended diagnostic: `systemctl list-timers --all`. Remediation: Add `WantedBy=timers.target`, run `systemctl daemon-reload`, and `systemctl enable --now <name>.timer`.

Worked Examples

  • Run `systemctl list-timers --all` to verify root cause before applying the remediation.

Limitations & Assumptions

  • Always verify configuration changes in staging or with dry-run flags (e.g. `nginx -t`) before reloading production services.

Source References & Verification

Resource ID: err-cron-systemd-timer-not-firing · Independently verified: 2026-11-25

Related Resources