A cron job is a command, that runs conveniently in the background on a predefined period and it also executes a script in a hosting account. There aren't any limits in regard to what the script can be - PHP, Bash, Perl, etcetera, what it could do, or what exactly your file extension will be. A few examples are sending a regular report with the client activity within a given website, generating a regular backup or erasing the content inside a specific folder. These kinds of tasks and / or any other script can be run on time periods chosen by the user - each couple of minutes, hours or days, and even monthly or once per year based on the specific goal. Making use of cron jobs to speed up various areas of managing a site saves considerable time and efforts.
Cron Jobs in Shared Hosting
Setting up a cron job will take you exactly three quick steps if you get a shared hosting plan from our company. The Hepsia Control Panel, that comes with all of the website hosting accounts, has a section dedicated to the crons and once you go there, you should type the folder path to the script that you want to be run, the command path to the server files for the specified programming language (Perl, Python, PHP), which you can copy from the Server Information section, and then determine how frequently the cron job should run. For that time interval, we offer two choices - a very intuitive one with drop-down navigation where you can select the minutes, hours, days or months, and a more complex one that is used with many other web hosting Control Panels in which you have to type numbers and asterisks on specific positions that define different time periods.
Cron Jobs in Semi-dedicated Servers
If you use a semi-dedicated server account with our company to host your websites, you'll be able to set up cron jobs for all of them effortlessly. This can be done in 3 simple steps in the Hepsia Control Panel that's used to control the website hosting account, so you will be able to create a new cron even when you lack prior experience. Within the Cron Jobs area of Hepsia, you will discover a box where you have to copy/paste the path to the system files inside your account for the programming language your script was written in - PHP, Python, Perl, Bash, and so on. You also need to submit the folder path to the script file that'll be executed in the same box and then use our user-friendly drop-down menus to choose how often our system will run the cron. More advanced users, can also take advantage of the traditional method of creating a cron job by typing digits and asterisks in certain positions in addition to the previously mentioned paths.