Article ID: 3252, created on Nov 30, 2007, last review on May 11, 2014

  • Applies to:
  • H-Sphere


Crontab allows you to clock and run your own Unix shell scripts automatically. It is available only in Unix-based plans and requires the knowledge of Unix shell commands.

To enable crontab jobs, do the following:

  1. Select FTP User in the FTP menu.
  2. Enable Crontab.
  3. Agree with charges, if any.
  4. Click the Edit icon for Crontab.
  5. On the page that appears, add the crontab job:

    Commands are executed by cron when the minute, hour, day and month fields match the current time, and when at least one of the two day fields (day of month, or day of week) match the current time. In the Command box write a command to be executed by cron, i.e. path relative to your root home directory.

    The Mail-To address is where the system will direct reports if errors occur.

To delete a job, check the box in the Delete section and click Submit Query.

For example to run a php script using cron put the following line in command section:
/hsphere/shared/apache/bin/lynx -dump -nolist > /dev/null
or another way
on Linux:
/usr/bin/wget -q -O /dev/null

on FreeBSD:
/usr/bin/fetch -q -o /dev/null

f213b9fa8759d57bee5d547445806fe7 6311ae17c1ee52b36e68aaf4ad066387

Email subscription for changes to this article
Save as PDF