A cron job is a command, that functions automatically in the background on a pre-set period of time and it executes a script within a website hosting account. There are no limits regarding what the script can be - PHP, Bash, Perl, etc., what it could do, or what exactly the file extension will be. A few examples are supplying a day-to-day report with all the user activity within a given site, creating a regular backup or deleting the files in a certain folder. These kinds of tasks and / or some other script can be executed on time intervals selected by the user - each couple of minutes, hours or days, and even once per month or perhaps once per year based on the particular goal. Using cron jobs to speed up various areas of managing a site saves lots of time and efforts.

Cron Jobs in Shared Website Hosting

The Hepsia Control Panel, that is featured with all our shared website hosting plans, allows you to set up cron jobs in several simple steps even if you have not used this type of option before. Once you log in and proceed to the Cron Jobs section where you're able to set background tasks, you just have to copy and paste the server access path to PHP, Perl or Python depending on the script that you will run, type the path in your account for the actual script file and after that select how often the cron job has to be carried out. For the aforementioned, you can use the standard mode and pick the days, hours, minutes, etc. via straightforward drop-down menus, or maybe in case you are more knowledgeable, you can take advantage of the advanced mode and set the time period with numbers and asterisks i.e. the standard method which you may have used with various other Control Panels.

Cron Jobs in Semi-dedicated Servers

If you'd like to use cron jobs for some of your websites and you have a semi-dedicated server account with us, it will not take you more than a few clicks inside your Hepsia website hosting Control Panel to do this. Creating a brand new cron job is easy and you'll be able to add one through the Advanced section of Hepsia where you will find a box to enter two different things - the path to the programming language system files that you will find in the Server Information section (PHP, Python, Perl) and the path to the script that you want the cron job to execute. The very last step is to determine how often the cron will be executed and we've got an extremely time and effort saving interface for that, so by using drop-down menus you will be able to pick the interval in minutes, hours or days. If you are more tech-savvy or used to the standard, although more advanced way to set a cron interval using digits and asterisks, you can use this option as well.