There are users that still swear by cron, but on modern systems a systemd timer is generally advised.
post
cron/crontab are the general things you want to search for. They are used for running commands on a schedule, which is what you want.
You can also use systemd timers. Pick the one that your OS supports.
You can set up a cron job to run a command on a schedule that you want. Here is one of many pages that explains that How to Set Up Cron Jobs on Linux (crontab Guide)
Great, thank you. I heard about cron jobs when I first switched to Linux but got overwhelmed. Appreciate the link.
This seems way more straight forward than i remember lol. I'm on Cachy, which apparently doesn't have cron out of the box. Just installed cronie, ran crontab -e, and if I enter:
0 6 * * * * castget -c
(with spaces between 0 6 * etc?) that's it? It'll run every day at 6am?
all 12 comments