A cron job is a command, which works conveniently in the background over a predefined period of time and it also runs a script inside a website hosting account. There aren't any limits regarding what the script can be - PHP, Bash, Perl, etc., what it could do, or what exactly the file extension will be. Some examples are supplying a daily report with all the user activity on a specific website, creating a routine backup or deleting the files inside a specific folder. These kinds of tasks as well as almost every other script can be executed on intervals selected by the user - every couple of minutes, hours or days, and even every month or once a year based on the exact goal. Working with cron jobs to speed up numerous elements of administrating a site saves considerable time and efforts.
Cron Jobs in Shared Web Hosting
Setting up a cron job will take you simply three quick steps when you get a shared web hosting
package with our company. The Hepsia Control Panel, that comes with all the website hosting accounts, features a section dedicated to the crons and when you go there, you should enter the folder path to the script which you want to be run, the command path to the server files for the selected programming language (Perl, Python, PHP), that you can copy and paste from the Server Information section, and then determine how frequently the cron job needs to run. For the time interval, our company offers two choices - a user-friendly one with drop-down menus where one can pick the minutes, hours, days or months, and a more complex one that's used with various other web hosting Control Panels in which you are required to type numbers and asterisks on particular positions that outline different time periods.
Cron Jobs in Semi-dedicated Hosting
If you use a semi-dedicated server
account from our company to host your sites, you will be able to set up cron jobs for any of them with ease. This is done in 3 really easy steps in the Hepsia Control Panel that's used to take care of the web hosting account, so you'll be able to create a new cron even if you don't have any prior experience. Inside the Cron Jobs section of Hepsia, you will find a box where you have to copy/paste the path to the system files in your account for the programming language your script was written in - Python, PHP, Perl, Bash, and so on. You also need to enter the folder path to the script file which will be executed in the same box and use our intuitive drop-down menus to choose how often our system will run the cron. Experienced users, can also take advantage of the traditional method of creating a cron job by typing digits and asterisks in certain positions along with the previously mentioned paths.