A cron job is a command, that functions automatically in the background on a predefined period and it executes a script within a website hosting account. There won't be any limits in regard to what the script can be - PHP, Bash, Perl, etc., what it can do, or what exactly the file extension will be. A few examples are sending a regular report with the user activity on a specific site, creating a regular backup or deleting the files in a particular folder. These tasks and / or any other script can be executed on time periods picked by the end user - each few minutes, hours or days, and even monthly or annually depending on the specific objective. Making use of cron jobs to automate different areas of administrating a website saves a lot of time and efforts.

Cron Jobs in Cloud Website Hosting

The Hepsia Control Panel, that comes with all of our cloud website hosting packages, will help you to create cron jobs in several easy steps even when you haven't ever employed such a function before. After you log in and navigate to the Cron Jobs area where you'll be able to assign background tasks, you just have to copy and paste the server access path to Perl, Python or PHP according to the script you will execute, type the path in your account for the specific script file and then select how often the cron job has to be executed. For the aforementioned, you can use the standard mode and choose the days, hours, minutes, etc. using uncomplicated drop-down options, or in case you are more skilled, you can take advantage of the advanced mode and specify the time interval with numbers and asterisks i.e. the standard method which you might have employed with different Control Panels.

Cron Jobs in Semi-dedicated Hosting

If you want to use cron jobs for some of your websites and you have a semi-dedicated server account from our company, it will not take you more than a few clicks in your Hepsia web hosting Control Panel to do this. Creating a new cron job is quite simple and you can easily add one from the Advanced part of Hepsia where you will find a box to enter 2 things - the path to the programming language system files which you will find in the Server Information section (PHP, Perl, Python) and the path to the script that you wish the cron job to execute. The final step is to decide how often the cron will be executed and we have a really intuitive interface for that, so by using drop-down navigation you can pick the interval in days, hours or minutes. In case you are more tech-savvy or used to the particular standard, albeit more advanced way to set a cron interval using digits and asterisks, you can use this option as well.