Cron is a software utility that allows you to schedule jobs to run at specific times. Our hosting service makes it easy to set up cron commands and the frequency at which they should run using your control panel. Alternatively you can use SSH to manage cron jobs.
To login to your webspace using SSH you will first need to enable it on your subscription. If you have not done this yet please see this article first.
Once enabled you can use an SSH client to access your webspace, upload bash scripts and manage cron.
From within your SSH session you can use crontab -l to view cron jobs, and crontab -e to edit.
Using the control panel
After logging in select Manage Website from the websites box (if you have more than one website hosted with Gradwell you will have to choose the correct one using the dropdown box).
From the next page, select More Tools...
...and then Cron Management.
You will see a full list of cron jobs that are currently scheduled. To add a new job to cron, simply click Add New Job. Existing jobs can be temporarily deactivated by selecting it and clicking Deactivate, or you can delete it permanently using the Delete button.
When adding a new cron job you will need to enter the host command you wish to run and the frequency that it should run (minutely, hourly, daily, weekly, monthly).
In the example below we are executing the bash shell using /bin/bash, followed by the script /home/gavinlew/myscript.sh. It is set to run daily at 10am.