A cron job is a command, that runs conveniently in the background over a pre-set time period and it executes a script in a web hosting account. There aren't any limitations in regard to what the script can be - PHP, Bash, Perl, etcetera, what it can do, or what exactly your file extension will be. Some examples are mailing an everyday report which contains all the user activity within a specified website, creating a routine backup or deleting the content within a certain folder. These types of tasks as well as almost every other script can be run on intervals selected by the user - every couple of minutes, hours or days, and even once per month or perhaps annually depending on the specific goal. Using cron jobs to improve different areas of managing a site saves considerable time and efforts.
Cron Jobs in Shared Web Hosting
Creating a cron job requires just 3 simple steps when you get a shared web hosting
plan through us. The Hepsia Control Panel, that comes with all of the hosting accounts, has an area dedicated to the crons and as soon as you get there, you have to enter the folder path to the script that you'd like to be run, the command path to the system files for the specified programming language (Perl, Python, PHP), that you can copy from the Server Information section, and set how frequently the cron job needs to run. For that time interval, our company offers two choices - a very intuitive one with drop-down navigation where one can choose the minutes, hours, days and/or months, and a more advanced one that is used with other website hosting Control Panels where you have to type numbers and asterisks on certain positions that define separate time periods.
Cron Jobs in Semi-dedicated Hosting
If you use a semi-dedicated server
account from us to host your websites, you can set up cron jobs for all of them without difficulty. This is done in 3 very easy steps from the Hepsia Control Panel which is used to manage the hosting account, so you will be able to create a new cron even when you do not have any prior experience. Inside the Cron Jobs area of Hepsia, you'll find a box where you have to copy/paste the path to the system files inside your account for the programming language your script was designed in - Python, PHP, Perl, Bash, etcetera. You also need to enter the folder path to the script file that'll be executed in the same box and use our user-friendly drop-down menus to decide how often our system will run the cron. More advanced users, can also use the traditional method of setting up a cron job by typing digits and asterisks in certain positions as well as the aforementioned paths.