📃
TopologyUpdater
  • TopologyUpdater.sh
  • topologyUpdater.sh
    • Create TopologyUpdater logs folder & download script
    • Modify topologyUpdater.sh script
    • Configure crontab
    • Check topologyupdater logs
  • topology_push.sh
  • Create script to grab topology peers
Powered by GitBook
On this page

Was this helpful?

  1. topologyUpdater.sh

Configure crontab

PreviousModify topologyUpdater.sh scriptNextCheck topologyupdater logs

Last updated 4 years ago

Was this helpful?

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/topologyUpdater.sh

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 topologyUpdater.sh script at 25 mins after the hour each hour.