A cron job is a command, which runs automatically in the background on a pre-set time period and it also runs a script within a hosting account. There aren't any limitations regarding what the script can be - PHP, Bash, Perl, etc., what it could do, or what exactly your file extension should be. Some examples are supplying a regular report which contains all the client activity on a given site, creating a regular backup or deleting the content within a specific folder. These tasks as well as almost every other script can be executed on time periods chosen by the end user - each couple of minutes, hours or days, and even monthly or once a year according to the specific objective. Using cron jobs to improve diverse areas of administrating a website saves lots of time and efforts.
Cron Jobs in Website Hosting
Creating a cron job requires simply three easy steps when you acquire a website hosting plan from us. The Hepsia Control Panel, which comes with all of the web hosting accounts, has an area focused on the crons and once you get there, you need to type the folder path to the script which you want to be run, the command path to the server files for the particular programming language (Perl, Python, PHP), which you can copy from the Server Information section, and then specify how frequently the cron job has to run. For the time interval, we offer two choices - a very intuitive one with drop-down navigation where you can pick the minutes, hours, days or months, and a more complex one that's used with various other web hosting Control Panels where you have to type numbers and asterisks on specific positions that outline different time periods.
Cron Jobs in Semi-dedicated Hosting
Installing a cron job in our system is really simple. Once you sign in to the Hepsia Control Panel, which is included with all of the semi-dedicated server accounts, you will be able to go to the Cron Jobs section where you just have to pick the directory path to the script file to be run along with the command path for the specific language the script was written in - PHP, Perl, Python, Bash. You're able to find the latter in the Control Panel, and you can copy and paste it with a couple of clicks. Then, select the time period for the cron via 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 will not have any problems if you do not have prior experience. When you are more tech-savvy, you can also take advantage of the regular cron format with the two paths, digits and asterisks typed on one line.