I noticed today that a systemd timer I disabled several days ago is still running. And disabling it again appears to have no effect. I'm probably missing something fundamental here (I'm quite new to systemd), but all I've really done is follow what appears to be the general advice online.
root@nla-cloud:/var/log# systemctl list-timers NEXT LEFT LAST PASSED UNIT ACTIVATES Fri 2017-10-13 00:00:00 UTC 13h left Thu 2017-10-12 00:00:01 UTC 10h ago delete_dummies.timer delete_dummies.service
No feedback here to say symlink removed (which is what happened the first time I disabled it - log lost):
root@nla-cloud:/var/log# systemctl disable delete_dummies.timer
Yep, still active and waiting ...
root@nla-cloud:/var/log# systemctl status delete_dummies.timer delete_dummies.timer - Deletes dummy devices at midnight Loaded: loaded (/lib/systemd/system/delete_dummies.timer; disabled; vendor preset: enabled) Active: active (waiting) since Thu 2017-10-05 09:22:44 UTC; 1 weeks 0 days ago Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.
[Unit] Description=Deletes dummy devices at midnight [Timer] OnCalendar=daily Persistent=true [Install] WantedBy=multi-user.target
[Unit] Description=Delete dummy device entries. [Service] Type=simple ExecStart=/usr/bin/delete_dummies.sh
I love systemd.