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
Related Articles
Microsoft Outlook 365 DNS SRV Records
When adding SRV records in hsphere for Microsoft 366, the fields under the DNS configuration new...
Setup Spamexperts - hsphere
THIS NO LONGER APPLIES. To setup spamexperts within the hsphere control panel...
Email Provider Message Sizes
Most mail servers limit the message size -- the size of the entire message including all...
What is an SSL certificate?
An SSL certificate encrypts data that is sent between the server and you, your computer, your...
Hsphere User Guides
User guides for our hsphere control panel are available at our downloads section for user guides:...