Cron Job at Every Minute in Linux

Last updated on Jan 2, 2020 in Linux

In Linux, you can schedule any script to be called in regular interval. This tutorial is about to set up script to be run in every minute.

Open Crontab

Open the crontab file in your favorite text editor:

$ vim /etc/crontab

Add “* * * * *” to The Crontab

Let’s assume that your script is named /home/theuser/script.sh. Add the following line to the end of the file:

* * * * * /home/theuser/script.sh

The first entry * defines the interval “at every minute”.