Hosting Services > Developer's Corner > CGI > CGI Quick Reference

Scheduling Tasks with Cron

Cron is the name of a program that enables unix users to execute commands or scripts (groups of commands) automatically at a specified time/date. It is normally used for system admin commands, like makewhatis, which builds a search database for the man -k command, or for running a backup script, but can be used for anything.

You may schedule scripts to run periodically (called cron tasks). Because telnet/shell access is not provided, the cron task must be a CGI script, and must return a valid CGI header.

To schedule a cron task, simply visit the Cron Manager and add a cron entry. Advanced users may use the familiar crontab format; beginners can schedule a task to run at any arbitrary day or time, without knowledge of the crontab format.

Cron output is logged in the
/logs directory; files are named cronYYYYMMDD.log.