A cron job is a command, that works automatically in the background on a predefined period of time and it also executes a script within a hosting account. There are no restrictions in regard to what the script is - PHP, Bash, Perl, etc., what it could do, or what exactly the file extension will be. Examples are sending a regular report with the user activity within a specific site, creating a regular backup or deleting the content in a certain folder. These types of tasks or any other script can be executed on time periods selected by the end user - every few minutes, hours or days, and even every month as well as once a year based on the particular purpose. Working with cron jobs to automate numerous areas of managing a site saves a lot of time and efforts.

Cron Jobs in Shared Hosting

The Hepsia Control Panel, which is featured with all of our Linux shared hosting, allows you to set up cron jobs in a couple of easy steps even if you have never employed this feature previously. Once you sign in and navigate to the Cron Jobs area where you'll be able to assign background tasks, you just have to paste the system access path to Perl, Python or PHP depending on the script you will execute, type the path in your account for the specific script file and after that select how often the cron job will be carried out. For the latter, you can use the standard mode and pick the minutes, hours, days, etc. through simple drop-down navigation, or maybe if you are more experienced, you can use the advanced mode and specify the time interval with numbers and asterisks i.e. the typical method which you might have used with various Control Panels.

Cron Jobs in Semi-dedicated Hosting

Installing a cron job in our system is a breeze. Once you sign in to the Hepsia Control Panel, which is included with all of the semi-dedicated server accounts, you are able to go to the Cron Jobs section where you only have to pick the directory path to the script file to be executed plus the command path for the particular language the script was written in - PHP, Perl, Python, Bash. You're able to find the aforementioned in the Control Panel, so you can copy and paste it with just a few clicks. Then, choose the time interval for the cron through drop-down menus for the minutes, hours, days or months and you'll be all set. Our cron job setup wizard makes the process really simple 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 use the common cron format with the two paths, digits and asterisks typed on one line.