A cron job is a command, which works automatically in the background over a pre-set period of time and it runs a script within a hosting account. There are no restrictions in regard to what the script can be - PHP, Bash, Perl, etcetera, what it could do, or what exactly the file extension will be. Some examples are mailing a daily report with all the client activity within a given site, generating a regular backup or erasing the files inside a certain folder. These kinds of tasks or some other script can be run on time intervals specified by the end user - each couple of minutes, hours or days, and even once a month or once a year according to the specific intent. Making use of cron jobs to automate various aspects of administrating a site saves considerable time and efforts.

Cron Jobs in Hosting

The Hepsia Control Panel, which is provided with all of our Linux hosting, will allow you to set up cron jobs in a few simple steps even when you haven't ever employed this function previously. When you log in and navigate to the Cron Jobs section where you are able to create background tasks, you just have to paste the system access path to Perl, PHP or Python with respect to the script you'll run, type the path within your account to the specific script file and after that choose how often the cron job will be carried out. For the aforementioned, you can use the basic mode and choose the days, hours, minutes, etc. using straightforward drop-down options, or if you are more skilled, you can use the advanced mode and specify the time period with numbers and asterisks i.e. the usual method which you may have used with various other Control Panels.

Cron Jobs in Semi-dedicated Servers

Installing a cron job in our system is quite easy. Once you log in to the Hepsia Control Panel, which is included with all semi-dedicated server accounts, you can go to the Cron Jobs section where you just have to choose the directory path to the script file to be run along with the command path for the specific language the script was designed in - PHP, Perl, Python, Bash. You're able to find the latter in the Control Panel, and you can copy/paste it with a couple of clicks. Then, choose the time period for the cron through drop-down menus for the minutes, hours, days or months and you are all set. Our cron job setup wizard makes the process really simple and intuitive, so you will not have any problems if you don't have previous experience. In case you are more experienced, you can also take advantage of the conventional cron format with the two paths, digits and asterisks typed on one line.