A cron job is a command, which works automatically in the background on a predefined period of time and it also executes a script within a web hosting account. There are no limitations regarding what the script is - PHP, Bash, Perl, etcetera, what it could do, or what exactly your file extension will be. A few examples are sending an everyday report which contains all the end user activity on a specified website, generating a regular backup or erasing the content in a specific folder. These kinds of tasks or some other script can be executed on time periods picked by the user - each couple of minutes, hours or days, and even once a month or maybe once a year depending on the particular purpose. Making use of cron jobs to automate various areas of managing a website saves a lot of time and efforts.

Cron Jobs in Shared Web Hosting

Creating a cron job requires precisely three easy steps when you obtain a shared web hosting plan from our company. The Hepsia Control Panel, which comes with all the website hosting accounts, has a section dedicated to the crons and when you get there, you should type the folder path to the script that you want to be executed, 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 then specify how often the cron job has to run. For that time interval, we offer two options - an easy to use one with drop-down navigation where one can pick the minutes, hours, days and/or months, as well as a more complex one that is used with many other web hosting Control Panels in which you have to type numbers and asterisks on specific positions that define separate periods of time.

Cron Jobs in Semi-dedicated Servers

Setting up a cron job in our system is easy. Once you sign in to the Hepsia Control Panel, which is provided with all semi-dedicated server accounts, you will be able to go to the Cron Jobs section where you only have to pick the directory path to the script file to be run as well as the command path for the specific language the script was designed in - PHP, Perl, Python, Bash. You'll be able to find the latter in the Control Panel, thus you can copy and paste it with a few clicks. Next, select the time period for your cron via drop-down navigation for the minutes, hours, days or months and you will be all set. Our cron job setup wizard makes the process really easy and intuitive, so you won't have any problems if you do not have prior experience. In case you are more experienced, you can also take advantage of the regular cron format with the two paths, digits and asterisks typed on one line.