You edited the timer from 5 minutes to 1 minute, restarted it, but it still fires every 5 minutes. `systemctl` printed `Warning: The unit file, source configuration file or drop-ins of opskit-health.timer changed on disk. Run 'systemctl daemon-reload' to reload units.`
BeginnerTroubleshootingTroubleshooting: cron and systemd timers
Answer
Likely causes → systemd caches unit definitions. Editing the file on disk changes nothing until the manager reloads its configuration; restarting the unit reuses the cached version.
Diagnose →
systemctl show opskit-health.timer -p NeedDaemonReload # yes
systemctl show opskit-health.timer -p TimersMonotonic # still shows the old interval
Fix →
systemctl daemon-reload
systemctl restart opskit-health.timer
systemctl list-timers opskit-health.timer
Prevent → Use systemctl edit --full opskit-health.timer (or systemctl edit for drop-ins), which reloads automatically, and make config management run daemon-reload whenever a unit file changes.
More on Troubleshooting: cron and systemd timers
A new job in `/etc/cron.d/opskit` never runs. Syslog shows `cron[812]: (*system*opskit) ERROR (Missing newline before EOF, this crontab file will be ignored)`.BeginnerYou copied a line from `crontab -e` into `/etc/cron.d/backup`, and syslog shows `Error: bad username; while reading /etc/cron.d/backup`. Meanwhile a teammate's user crontab mails `/bin/sh: 1: root: not found` every night.BeginnerA script works when you run it, but the cron log email says `/opt/opskit/bin/backup.sh: line 22: aws: command not found`.BeginnerThis crontab line never produces a log file, and cron mails `/bin/sh: 1: Syntax error: end of file unexpected (expecting ")")`: `0 2 * * * /opt/backup.sh > /var/log/backup-$(date +%F).log 2>&1`IntermediateA cron job fails intermittently, but there are no emails and no logs. Syslog shows `(CRON) info (No MTA installed, discarding output)`.BeginnerA cron job that runs `docker exec -it db pg_dumpall` fails with `the input device is not a TTY`.Intermediate