Note

You are viewing the documentation for an older release of Interworx (6.x). To see documentation for the current generally available release of Interworx, click here: 7.13.

How to: Manage Scheduled Tasks Via Cron in SiteWorx

How to: Update the Cron Variables

  1. Click the Hosting Features menu item if it is not already open.

  2. Click the Cron Jobs menu item.

  3. Select the linux shell you’d like the cron jobs to be run on from the SHELL drop down.

  4. Enter the paths you’d like to be in the search path for the cron jobs in the PATH field.

  5. Enter the email address you’d like to receive all output from the cron jobs in the MAILTO field.

  6. Click the Update button to submit your changes.

How to: Change the Cron Interface

  1. Click the Hosting Features menu item if it is not already open.

  2. Click the Cron Jobs menu item.

  3. Select the desired interface from the Cron Editor drop down.

How to: Add a Cron Job

  1. Click the Hosting Features menu item if it is not already open.

  2. Click the Cron Jobs menu item.

  3. Using the Simple Interface:

    • Choose the Minute, Hour, Day, Month and Day of Week that you’d like your cron job to run from the select Boxes.

  4. Using the Advanced Interface:

    • Enter the Minute, Hour, Day, Month and Day of Week numerically in the fields beneath each column. Use the * symbol for All.

  5. Enter the path or url to the script you’d like to run in the script box.

  6. Click the Add button to add your Cron Job.

How to: Delete a Cron Job

  1. Click the Hosting Features menu item if it is not already open.

  2. Click the Cron Jobs menu item.

  3. Check the box next to the Cron Job that you wish to delete.

  4. Select delete from the With Selected drop down.

How to: Edit a Cron Job

  1. Click the Hosting Features menu item if it is not already open.

  2. Click the Cron Jobs menu item.

  3. Click the [ Edit ] link next to the cron job you’d like to edit.

  4. Change the Minute, Hour, Day, Month, Day of Week and/or Script field.

  5. Click the Save button to update the changes to the Cron Job.