A cron job is a command, which runs conveniently in the background over a pre-set period of time and it also executes a script within a web hosting account. There aren't any restrictions in regard to what the script is - PHP, Bash, Perl, etcetera, what it could do, or what exactly your file extension should be. Some examples are sending a regular report with all the client activity within a specific website, generating a routine backup or deleting the content inside a certain folder. These types of tasks or almost every other script can be executed on time periods selected by the user - each couple of minutes, hours or days, and even once a month as well as annually depending on the exact purpose. Working with cron jobs to improve various elements of administrating a site saves a lot of time and efforts.

Cron Jobs in Web Hosting

Setting up a cron job requires exactly 3 easy steps if you get a web hosting package with our company. The Hepsia Control Panel, that is featured with all the hosting accounts, has an area dedicated to the crons and when you get there, you have to type the folder path to the script that you would like to be run, the command path to the system files for the specified programming language (Perl, Python, PHP), which you can copy and paste from the Server Information section, and after that determine how frequently the cron job has to run. For that time interval, we offer two options - an easy to use one with drop-down navigation where you can pick the minutes, hours, days or months, along with a more advanced one that's used with many other web hosting Control Panels where you are required to type numbers and asterisks on particular positions that define different periods of time.

Cron Jobs in Semi-dedicated Servers

In case you use a semi-dedicated server account from our company to host your websites, you're able to install cron jobs for all of them without difficulty. This is done in 3 uncomplicated steps inside the Hepsia Control Panel which is used to control the website hosting account, so you're able to set up a new cron even if you don't have any previous experience. Inside the Cron Jobs section of Hepsia, you will discover a box where you need to copy/paste the path to the system files inside your account for the programming language your script was written in - Perl, Bash, Python, PHP, and so on. You also need to provide the folder path to the script file which will be executed in the same box and use our intuitive drop-down menus to choose how often our system will run the cron. Advanced users, can also take advantage of the traditional method of setting up a cron job by typing digits and asterisks in certain positions along with the aforementioned paths.