How to set up Crontab on CentOS 7 Linux



This short video will show you how to set up cron jobs on CentOS 7.

Cron is the task scheduler in Linux

Although the Linux distro in this tutorial is CentOS 7, this tutorial should work on most versions of Linux.

We first set up a script that will allow us to test cron.

We then enter cron by running crontab -e.

We then tell cron to run the script every minute of everyday to see if output is generated.

The cron test script, along with the cron examples are available from here:

https://darrenoneill.eu/?p=520

And the Cron website that was shown in the tutorial can be found here:

https://crontab.guru

If you encounter any difficulty while following along to this tutorial please do comment below 🙂

Comments are closed.