Contact
Site: US UK AU |

How to administer cron jobs in NodeWorx

How to administer cron jobs in NodeWorx

Overview
This document shows various methods of cron job administration in NodeWorx.

Functionality

InterWorx allows both NodeWorx administrators and system users to manage cron jobs from the NodeWorx control panel instead of from the command line. This document outlines how administrators can manage the system users’ crontab files and settings.

Administration

How to view a system user’s crontab file

  1. Select Server > CRON.

  2. From the User drop-down menu, select the pertinent user. You will see that user’s crontab.

  3. You may now choose to add, edit, or delete cron jobs, as well as edit cron variables.

How to manage a system user’s crontab options

  1. Select Server > CRON.

  2. From the User drop-down menu, select the pertinent user. You will see that user’s crontab and various cron options.

  3. Change the option or options as desired.

  4. Click Update.

How to configure a cron job

  1. Select Server > CRON.

  2. Choose the relevant user.

  3. The simple interface is the default option; choose the advanced interface from the CRON Editor: drop-down menu if desired.

Simple interface

  1. Set the Minute interval. You may use a specific minute of every hour, an interval, or select All for every minute.

  2. Set the Hour interval using the same choices. You may use a specific hour, an interval, or select All for every hour.

  3. Set the Day interval. You may use a specific day or select All for every day.

  4. Set the Month interval. You may use a specific month or All for every month.

  5. Set the Day of Week interval. You may use either a specific day of the week or All for every day of the week.

  6. Set the Script command to be run.

  7. To add the cron job, click Add.

Advanced interface

  1. Set the Minute interval. You may use a specific minute of every hour, an interval, or a range.

  2. Set the Hour interval. Using a 24-hour clock, you may use a specific hour, an interval, or a range.

  3. Set the Day interval. You may use a specific day, an interval, or a range.

  4. Set the Month interval. You may use a specific month, an interval, or a range.

  5. Set the Day of Week interval. You may use a specific day of the week, an interval, or a range. Note 0 and 7 both represent Sunday.

  6. Set the Script command to be run.

  7. To add the cron job, click Add.

Cron option reference guide

  • MAILTO: any output produced by a cron job will be sent to this address if one is present.

  • Shell: all scripts will be executed within this shell. The default shell is /bin/sh.

  • PATH: this option sets the directories to be used in the search path for the cron job.

     

    For 24-hour assistance any day of the year, contact our Support Team by email or through the Client Portal.

Article Rating (No Votes)
Rate this article
  • Icon PDFExport to PDF
  • Icon MS-WordExport to MS Word
 
Attachments Attachments
There are no attachments for this article.
Related Articles RSS Feed
How to configure custom nameservers
Added on Tue, Aug 6, 2013
How to manage your reseller accounts
Added on Thu, Apr 5, 2018
How do I get sudo access to my Nexcess server?
Added on Tue, Apr 21, 2015