Cron replacement?

I’m running Bluefin and noticed I hadn’t setup cron to run my backup script automatically, but I found that cron isn’t installed. Is there a recommended way to automate tasks like this that doesn’t involved running a distrobox with cron installed? Maybe a new(er) systemd method? I’m just used to cutting/pasting:

0 3 * * 1 /usr/bin/nice -n 19 ionice -c2 -n7 ~/bin/wasabi_sync.sh

And leaving it, but I obviously need to find another method. Thanks

https://wiki.archlinux.org/title/systemd/Timers

4 Likes

I’m using Aurora stable and tried to set up a job using the KDE Task Scheduler.
It doesn’t seem to be working.
Am I right to assume Aurora doesn’t have Cron installed either, and I would need to follow the same steps?

Yeah timers is the way to do all of this stuff now.

2 Likes

This worked and was fun to learn how to do; feels far more robust than the old cron methods. I now have the .server and .timer files (with documentation in them) backed up with all of my other files. Thanks!

1 Like