Re:Systemd.timer, an Alternative to Cron
by marbu on Thursday December 08, 2022 @03:46PM
(#33913122)
This split between service file (what is going to happen exactly) and a timer file (when it's going to happen) is ok for complex use cases, but it really feels a bit silly when a single cron line would do the trick instead.
[ Parent
| on HN ]
there is cmdline shortcut for one-off ones at the very least
systemd-run --user --unit=timer-name --on-active=60 /exec/path
will run it in 60 secondsNice, thanks for sharing this.
Re:Systemd.timer, an Alternative to Cron
by hagbarddenstore on Thursday December 08, 2022 @04:35PM
(#33913815)
You can still use cron if you want...