From 7c6cca2063b5c0e05f6025189d9ee36d5ffe71fc Mon Sep 17 00:00:00 2001 From: James Nairn <jwrn3@cam.ac.uk> Date: Tue, 17 Nov 2020 11:38:18 +0000 Subject: [PATCH] Amended .timer file Added WantedBy section to enable timer after boot as per https://www.freedesktop.org/software/systemd/man/systemd.special.html: "A special target unit that sets up all timer units (see systemd.timer(5) for details) that shall be active after boot." --- canto_weekly.timer | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/canto_weekly.timer b/canto_weekly.timer index cba2375..54bb38d 100644 --- a/canto_weekly.timer +++ b/canto_weekly.timer @@ -2,4 +2,7 @@ Description=Run canto_weekly.service Monday morning at 1am. [Timer] -OnCalendar=Mon 01:00:00 \ No newline at end of file +OnCalendar=Mon 01:00:00 + +[Install] +WantedBy=timers.target \ No newline at end of file -- GitLab