How to use cron on Linux – The cron system is a method to automatically run commands on a schedule

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.

See How to use cron on Linux

#technology #linux #cron

Image/photo

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: