A cron job is a command, that works conveniently in the background over a pre-set period of time and it also runs a script in a hosting account. There are no restrictions regarding what the script can be - PHP, Bash, Perl, etc., what it can do, or what exactly the file extension will be. Examples are supplying a daily report which contains all the client activity within a given site, creating a regular backup or deleting the files inside a particular folder. These kinds of tasks and / or some other script can be executed on time intervals picked by the end user - every few minutes, hours or days, and even once a month as well as annually depending on the specific intent. Working with cron jobs to automate numerous areas of managing a website saves a lot of time and efforts.

Cron Jobs in Shared Hosting

Creating a cron job requires exactly 3 easy steps if you get a shared hosting plan with us. The Hepsia Control Panel, that comes with all of the website hosting accounts, has an area focused on the crons and as soon as you go there, you should type the folder path to the script that you'd like to be run, the command path to the system files for the selected programming language (Perl, Python, PHP), which you can copy from the Server Information section, and then specify how frequently the cron job needs to run. For the time interval, our company offers two choices - an easy to use one with drop-down menus where you can select the minutes, hours, days and/or months, and a more advanced one that's used with various other hosting Control Panels where you are expected to type numbers and asterisks on particular positions that define separate periods of time.

Cron Jobs in Semi-dedicated Servers

Setting up a cron job in our system is very simple. Once you log in to the Hepsia Control Panel, which is provided with all the semi-dedicated server accounts, you are able to go to the Cron Jobs section where you just have to choose the directory path to the script file to be executed along with the command path for the particular language the script was written in - PHP, Perl, Python, Bash. You can find the aforementioned inside the Control Panel, and you can copy and paste it with just a few clicks. Next, choose the time interval for your cron through drop-down navigation for the minutes, hours, days or months and you will be all set. Our cron job setup wizard makes the whole process really simple and intuitive, so you won't have any problems if you do not have previous experience. If you are more tech-savvy, you may also use the common cron format with the two paths, digits and asterisks typed on one line.