Crontab Instructions

Home : Customer Support Center : Crontab Instructions



We want to make it very clear up front for you NOT TO ABUSE this feature. In the event that we determine that you are abusing the system from your use of this feature, it will be disabled and we will not argue the point with any client. If you know how to use Crontab, then you are quite aware of the drain that this feature can cause on a server.

Precautions that you should take are:

1. Limit the number of processes that you run
2. Do not run processes every minute
3. Schedule your processes to run between midnight and 6:00am CST

A "Cron Job" is used when you need something to happen on a regular basis. A reminder email weekly, a script that needs to run nightly-weekly-monthly, etc. If you have setup a CGI or PHP script that requires a Cron Job this is where you can set it up.

From your control panel, click on "Cron Jobs". You will see 5 small textbox fields and one large one. The five small ones correspond to their titles of

Minute, Hour, Day, Month, Weekday.

This is how you tell it WHEN to run. Here are some examples:

You have a script that needs to run once a week and you want it to run at 11:30 pm every Saturday night. You would enter into the corresponding boxes:

30     23     *   *    6


You have a script that needs to run nightly and you want it run at midnight every night. You would enter into the corresponding boxes:

0     0     *   *   *


You have a script that you want to run every on the 12th of each month at 4:15 am. You would enter into the corresponding boxes:

15     4     12     *   *


In the box for "Command" you should enter the server path to the script that needs to run. The instructions for your script should tell you how to do this.

Typical examples are:

/usr/bin/perl /home/username/public_html/cgi-bin/rundaily.cgi

/usr/bin/php /home/username/public_html/news-fetch.php


  The Server Center. All rights reserved. Privacy Policy