The Cron Jobs section of the Control Panel allows you to add scripts on your account as scheduled tasks. Sample scheduled tasks can be: create a backup of your account, send an email message, update certain areas of your site, etc. You can configure any PHP, Perl, Python, Ruby, or other script located on your account to run as a cron job. In this article you will find information about:
To create the cron job, select the script you wish to schedule for execution, and choose a start time from the drop-down list and confirm with the Set cron button.
Note: Since the script will be executed via the command line, you need to make sure that the interpreter is defined in the first line of the script. For example, if you wish to execute a PHP script (e.g. /home/username/www/www/myscript.php), you can do this by:
More information about the PHP-CLI version of the account is available in our PHP version article.
Once you schedule a Cron Job, you can specify a mailbox, where emails with the output generated by your cron jobs will be sent. You can choose to receive emails upon each cron job execution or only when there is output.
You can check if your cron job will execute properly by using the Run button. This will execute the cron job script and will provide you with its output. This way you can verify if all the cron jobs settings are correct.
To delete a cron job task, you can use the Delete button.
You can use the Advanced Mode tab for more scheduling options. After choosing the script which should be executed, you can set the exact time for this action from the drop-down lists (Hour/Minute/Day/Month/Day of week). Once the time is specified, use the Set cron button to confirm your settings.
All prices are in USD. No setup fees. Minimum contract period for shared hosting services - 12 months. Full prepayment for the contract period. 100-day money-back guarantee. No automatic renewal. Fees for domain registrations and SSL certificates cannot be refunded in case of an early contract termination.
ICDSoft 2001-2024 © All rights reserved
Terms of Use
|
Legal notice
|
Privacy
|
Reseller terms