Upcoming Webinar: Robust Solutions for Connected Systems in Buildings x
COVID-19 Digi Technical Support Response x

Running cron jobs on the ConnectPort LTS

All steps below are run from the ConnectPort LTS bash shell.

#> bash

First run the cron daemon:


Next create your cron config file:

   vi /usr2/samplecron.sh

and put this line in:

1 * * * * /bin/top –b –n1 >> /usr2/toplist

This script will run the top cmd one minute every hour and append it to /usr2/toplist

Then this will initialize the cron config file:

    crontab samplecron.sh

To have this initialized upon boot:

Add these cmds in the /usr2/rc.user file (above exit 0):

    crontab /usr2/samplecron.sh
Last updated: Aug 08, 2017

Filed Under


Recently Viewed

No recently viewed articles