this post was submitted on 04 Feb 2026
15 points (94.1% liked)
Linux Questions
3710 readers
30 users here now
Linux questions Rules (in addition of the Lemmy.zip rules)
- stay on topic
- be nice (no name calling)
- do not post long blocks of text such as logs
- do not delete your posts
- only post questions (no information posts)
Tips for giving and receiving help
- be as clear and specific
- say thank you if a solution works
- verify your solutions before posting them as facts.
Any rule violations will result in disciplinary actions
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
OnCalendar is calendar-based, not interval-based.
Use a monotonic timer with
OnUnitActiveSec=7dplusPersistent=true. This is not quite the same as your cron, because it can drift the day of ghe weak.And no, it does not reset just because you reboot.
Shifting the day of the week is totally fine, since i only care about days between the job executions. Many thx, then i try my luck with this.