A cron job is a command, which runs automatically in the background over a pre-set period and it runs a script in a hosting account. There are no restrictions regarding what the script is - PHP, Bash, Perl, etc., what it could do, or what exactly your file extension will be. Some examples are supplying a daily report which contains all the client activity within a specific site, creating a regular backup or erasing the files in a specific folder. These types of tasks and / or some other script can be executed on time periods chosen by the end user - every few minutes, hours or days, and even once a month as well as once a year according to the specific goal. Working with cron jobs to improve various elements of administrating a site saves a lot of time and efforts.
Cron Jobs in Cloud Web Hosting
Setting up a cron job requires simply 3 very simple steps when you obtain a cloud web hosting package through us. The Hepsia Control Panel, that comes with all of the hosting accounts, features an area centered on the crons and once you get there, you should enter the folder path to the script which you want to be run, the command path to the system files for the specific programming language (Perl, Python, PHP), that you can copy and paste from the Server Information section, and after that set how frequently the cron job needs to run. For the time interval, our company offers two options - an easy to use one with drop-down menus where one can pick the minutes, hours, days or months, along with a more complex one that is used with various other web hosting Control Panels where you are required to type numbers and asterisks on particular positions that outline separate time periods.
Cron Jobs in Semi-dedicated Servers
Setting up a cron job in our system is very easy. Once you sign in to the Hepsia Control Panel, which is included with all of the semi-dedicated server accounts, you can go to the Cron Jobs section where you just have to select the directory path to the script file to be executed along with the command path for the particular language the script was designed in - PHP, Perl, Python, Bash. You can find the aforementioned inside the Control Panel, so you can copy and paste it with just a couple of clicks. After that, select the time interval 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 really simple and intuitive, so you will not have any problems if you do not have previous experience. In case you are more tech-savvy, you can also use the regular cron format with the two paths, digits and asterisks typed on one line.