A cron job is a command, that functions automatically in the background on a predefined period of time and it runs a script inside a hosting account. There aren't any limits in regard to what the script is - PHP, Bash, Perl, etc., what it can do, or what exactly the file extension should be. A few examples are sending a day-to-day report with the user activity on a given website, creating a regular backup or erasing the content in a specific folder. These tasks and / or almost every other script can be executed on time periods specified by the end user - each couple of minutes, hours or days, and even every month as well as once per year based on the exact intent. Working with cron jobs to improve diverse elements of managing a website saves lots of time and efforts.

Cron Jobs in Cloud Website Hosting

Setting up a cron job requires simply 3 simple steps when you get a cloud website hosting plan with us. The Hepsia Control Panel, which comes with all the hosting accounts, has a section dedicated to the crons and once you go there, you need to type the folder path to the script that you'd like to be run, the command path to the system files for the specified programming language (Perl, Python, PHP), which you can copy from the Server Information section, and then determine how often the cron job should run. For the time interval, our company offers two options - a user-friendly one with drop-down navigation where you can select the minutes, hours, days and/or months, along with a more complex one that is used with many other hosting Control Panels in which you are expected to type numbers and asterisks on certain positions that define different time periods.

Cron Jobs in Semi-dedicated Hosting

If you would like to use cron jobs for any of your sites and you have a semi-dedicated server account with us, it will not take you more than a couple of clicks in your Hepsia hosting Control Panel to do that. Setting up a new cron job is very easy and you can add one from the Advanced part of Hepsia where you can find a box to provide 2 things - the path to the programming language system files which you will find in the Server Information area (Perl, Python, PHP) along with the path to the particular script that you'd like the cron job to run. The very last step is to decide how often the cron will be executed and we've got a really user-friendly interface for that, therefore by using drop-down menus you're able to pick the interval in days, hours or minutes. In case you are more tech-savvy or used to this standard, though more sophisticated way to assign a cron interval through digits and asterisks, you can use this method as well.