Setup cronjob

Running Your Shell Scripts With Crontab

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 -- ~/crontab.sh  (~/ places you in your user's folder, so no long paths are needed)

Cronjob times can be set to have every x time value by setting prefixing it with "*/" .  So for example, you can have a cron run every 5 minutes by setting */5 as the minute mark.

The Mail-To address is where the system will direct outputs from the script

To delete a job, check the box in the Delete section and click Submit Query.
  • 537 Users Found This Useful
Was this answer helpful?

Related Articles

How can I test my site before changing DNS? (instant aliases)

To test your site before changing the DNS nameservers, you can use the instant access alias that...

What is an SSL certificate?

An SSL certificate encrypts data that is sent between the server and you, your computer, your...

Installing an SSL

If you already have a key and certificate files, please do the following to install it: Login to...

Restoring from backups

Due to a backup systems change, effective October 2014, restoring of files from the control panel...

Which PHP versions do you support on shared hosting?

We currently support the following PHP versions on our shared hosting servers: 5.6 7.1 7.2...