The cron system is a method to automatically run commands on a schedule. A scheduled job is called a cronjob, and it’s created in a file called a crontab. It’s the easiest and oldest way for a computer user to automate their computer.
It's fairly simple to grasp really, as a line consists of two parts: the command or script to execute, and a schedule when to execute. The scheduling is quite easy once you understand how the scheduling syntax works.
I had a Manjaro Cinnamon machine with cron disabled, and if you find this, then just execute systemctl enable --now cronie.service
.
#technology #linux #cron
The cron system is a method to automatically run commands on a schedule. A scheduled job is called a cronjob, and it’s created in a file called a crontab. It’s the easiest and oldest way for a computer user to automate their computer. Writing a cronjob To create a cronjob, you edit your crontab using the -e option:
source https://gadgeteer.co.za/how-use-cron-linux-cron-system-method-automatically-run-commands-schedule
Comments