Configure crontab

What is cron?

The software utility cron is a time-based job scheduler in Unix-like computer operating systems. Users that set up and maintain software environments use cron to schedule jobs to run periodically at fixed times, dates, or intervals.

In our case, we want to configure cron scheduler by editing the crontab file which controls scheduling:

crontab -e

At the bottom of the commented list that pops up, copy/paste the line below:

25 * * * * /home/cardano/cardano-node/scripts/

The picture below is an example of what you should have:

Save the changes by pressing: ctrl+o Then Enter exit editor: ctrl+x.

We are finished with setting up crontab to run our script at 25 mins after the hour each hour.

Last updated