How to administer cron jobs in NodeWorx

How to administer cron jobs in NodeWorx

Overview
This document shows how Nexcess clients with Dedicated, VPS, or Reseller accounts can use NodeWorx to manage cron jobs.

InterWorx allows both NodeWorx administrators and system users to manage cron jobs from the NodeWorx control panel instead of from the command line. 

What you need

  • A Dedicated, VPS, or Reseller account with Nexcess
  • Your NodeWorx login credentials. If you cannot locate them, either click Forgot your password? on the login page, or contact our Support Team through your Client Portal or by email.

Contents

  • Viewing a system user's crontab file
  • Adding, editing, and deleting cron jobs

Viewing a system user’s crontab file

  1. From the main menu, select Server > Cron.


  2. From the User drop-down menu, select the desired 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.


Adding, editing, and deleting cron jobs

 

  1. Select Server > CRON.

  2. From the main menu, select Server > Cron.


  3. From the User drop-down menu, select the desired user.


  4. If you wish to edit or delete a cron job, locate the cron job, click either Delete or Edit, make any necessary changes, then confirm. Or, if you wish to create one, choose your preferred interface: Simple or Advanced. 

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. Enter the Script to be run.

  7. 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. Enter the Script to be run.

  7. 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 manage your reseller accounts
Added on Thu, Apr 5, 2018
How to configure custom nameservers
Added on Thu, Jan 3, 2019
How to add client accounts as a reseller
Added on Mon, Oct 22, 2018