How to administer cron jobs in NodeWorx

    October 17, 2019

    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 24/7 support team through your Client Portal or by email.

    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. From the main menu, select Server > Cron.
    2. From the User drop-down menu, select the desired user.
    3. 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 your Client Portal.
     





    Was this article helpful?

    Send feedback

    Can’t find what you’re looking for?

    Our award-winning customer care team is here for you.

    Contact Support