A cron job is a command, which runs conveniently in the background on a pre-set period and it executes a script within a hosting account. There won't be any limits in regard to what the script is - PHP, Bash, Perl, etcetera, what it could do, or what exactly your file extension will be. Some examples are sending a day-to-day report which contains all of the user activity on a given site, creating a regular backup or deleting the files inside a certain folder. These types of tasks or almost every other script can be executed on time periods chosen by the end user - each few minutes, hours or days, and even monthly or maybe annually depending on the particular purpose. Making use of cron jobs to automate numerous areas of managing a website saves a lot of time and efforts.

Cron Jobs in Shared Web Hosting

Setting up a cron job requires precisely three quick steps when you acquire a shared web hosting package with us. The Hepsia Control Panel, which comes with all the web hosting accounts, has a section focused on the crons and when you get there, you should type the folder path to the script which you want to be executed, the command path to the server files for the selected programming language (Perl, Python, PHP), that you can copy from the Server Information section, and then set how frequently the cron job needs to run. For that time interval, our company offers two choices - a very intuitive one with drop-down navigation where one can pick the minutes, hours, days and/or months, and a more advanced one that's used with other website hosting Control Panels where you have to type numbers and asterisks on particular positions that define different time periods.

Cron Jobs in Semi-dedicated Servers

Setting up a cron job in our system is really easy. Once you sign in to the Hepsia Control Panel, which is included with all of the semi-dedicated server accounts, you'll be able to go to the Cron Jobs section where you just have to choose 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're able to find the latter inside the Control Panel, thus you can copy and paste it with several clicks. Next, choose the time period for the 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 easy and intuitive, so you won't have any problems if you do not have previous experience. When you are more experienced, you can also use the standard cron format with the two paths, digits and asterisks typed on a single line.