A cron job is a command, which works conveniently in the background over a pre-set period of time and it executes a script inside a hosting account. There are no restrictions in regard to what the script is - PHP, Bash, Perl, etc., what it can do, or what exactly your file extension will be. Examples are supplying an everyday report which contains all of the end user activity on a given website, generating a regular backup or deleting the files inside a particular folder. These tasks as well as almost every other script can be run on intervals specified by the end user - every couple of minutes, hours or days, and even once per month or perhaps once per year according to the exact intent. Making use of cron jobs to speed up different elements of administrating a website saves considerable time and efforts.

Cron Jobs in Shared Hosting

The Hepsia Control Panel, which comes with all our Linux shared hosting service, will allow you to create cron jobs in a couple of basic steps even when you have never used this type of option previously. When you sign in and visit the Cron Jobs area where you can set background tasks, you just need to paste the server access path to PHP, Perl or Python based on the script that you will execute, type the path inside of your account for the specific script file and choose how often your cron job will be executed. For the latter, you'll be able to use the standard mode and pick the minutes, hours, days, etc. via straightforward drop-down navigation, or if you are more experienced, you can take advantage of the advanced mode and set the time period with numbers and asterisks i.e. the standard method which you may have used with various Control Panels.

Cron Jobs in Semi-dedicated Servers

Installing a cron job in our system is very simple. Once you sign in to the Hepsia Control Panel, which is included with all the semi-dedicated server accounts, you'll be able to go to the Cron Jobs section where you only have to select the directory path to the script file to be run plus the command path for the particular language the script was written in - PHP, Perl, Python, Bash. You're able to find the aforementioned inside the Control Panel, and you can copy/paste it with a few clicks. Next, choose the time period for your cron via drop-down menus for the minutes, hours, days or months and you are all set. Our cron job setup wizard makes the process very easy and intuitive, so you won't have any problems if you don't have prior experience. In case you are more experienced, you may also take advantage of the regular cron format with the two paths, digits and asterisks typed on one line.