All steps below are run from the ConnectPort LTS bash shell.
#> bash
First run the cron daemon:
    /bin/crond
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):
    /bin/crond;
    crontab /usr2/samplecron.sh
Last updated: 
Jan 03, 2024