Cron Jobs

This section provides information about cron jobs. To access cron jobs click on the Cron Jobs icon from the main control panel.

Cron jobs are system commands that can be scheduled. For example, if you wanted a CGI script to run every Monday morning, you could do this through the cron jobs menu. Values that can be set are minute, hour, day, month, and day of week (Monday-Sunday; the numbers 0 or 7 represent Sunday). Any value can be ignored by placing an asterisk (*) in the text field.

In the above example, we are setting updater.cgi to run every day at midnight.

You can also specify exact times using commas to separate them (e.g. 1,2,3  is minutes 1, 2 and 3).

You can specify spans using a dash (e.g. 5-7 is minutes 5 to 7).

You can specify intervals using a star and a forward slash. (e.g.: */2 is every 2nd minute.)

You can combine them to create a more precise schedule. (e.g.: 1,5,11-15,30-59/2 (minutes 1, 5, 11 to 15 and every 2nd minute between 30 and 59).

Remember to click "Add" when you are finished entering your data.

If you're trying to run a php script, remember to run the php binary, and pass it the php script.

For example:    /usr/local/bin/php /home/user/domains/domain.com/public_html/file.php

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

401, 403, 404, 500 error pages

This section provides information about 401, 403, 404, 500 error pages. Custom Error Pages...

Mime Types and Apache Handlers

This section provides information about mine types and apache handlers. Mime Types To access...

Site Redirection

This section provides information about site redirection. To access site redirection click on the...

Hosting Additional Domains In One Hosting Account

This section covers hosting more then 1 domain in your web hosting account. To host additional...

Starting a Website for Beginners

It seems like everyone either has or wants a website. For the latter group (those who don't have...