logoalt Hacker News

kruncklast Tuesday at 4:42 PM2 repliesview on HN

Yeah, it would be nice to have a folder like /etc/systemd-jobs/ where I could put them and where there are no files unrelated to job scheduling. There is /etc/systemd/user, but it does get a bit of pollution depending on the system.


Replies

ralferoolast Tuesday at 5:22 PM

Not sure if you're talking about cron or systemd, but cron definitely has that in /etc/cron.d where you can have arbitrary crontabs, or /etc/cron.{hourly|daily|weekly|monthly} where you can just place arbitrary scripts if you don't care exactly when they run, just the frequency.

weaksaucelast Tuesday at 6:10 PM

you can organize them however you want on your system and then use symlinks to make them available.

there's also `systemctl --all list-timers` to view them.