A cron job is a command, which runs conveniently in the background on a pre-set period of time and it executes a script within a hosting account. There are no limitations regarding what the script is - PHP, Bash, Perl, etc., what it can do, or what exactly the file extension should be. A few examples are sending a daily report which contains all the user activity on a specific website, generating a regular backup or erasing the files in a particular folder. These kinds of tasks or almost every other script can be executed on intervals selected by the user - each couple of minutes, hours or days, and even once per month or annually according to the exact objective. Making use of cron jobs to improve diverse aspects of administrating a site saves considerable time and efforts.
Cron Jobs in Shared Web Hosting
Creating a cron job requires simply 3 easy steps if you get a shared web hosting plan with our company. The Hepsia Control Panel, which comes with all the website hosting accounts, has 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 executed, the command path to the system files for the selected programming language (Perl, Python, PHP), which you can copy and paste from the Server Information section, and specify how frequently the cron job needs to run. For the time interval, we offer two choices - a very intuitive one with drop-down navigation where one can choose the minutes, hours, days and/or months, as well as a more complex one that's used with various other website hosting Control Panels where you are expected to type numbers and asterisks on particular positions that define different periods of time.
Cron Jobs in Semi-dedicated Servers
In case you use a semi-dedicated server account with our company to host your sites, you will be able to set up cron jobs for any of them effortlessly. This is done in 3 uncomplicated steps in the Hepsia Control Panel which is used to control the website hosting account, so you're able to set up a new cron even when you don't have any previous experience. Inside the Cron Jobs section of Hepsia, you'll find a box where you need to copy and paste the path to the system files in your account for the programming language your script was designed in - Python, PHP, Perl, Bash, etcetera. You also have to enter the folder path to the script file that will be executed in the same box and then use our user-friendly drop-down menus to decide how often our system will execute the cron. Experienced users, can also employ the traditional method of creating a cron job by typing digits and asterisks in certain positions as well as the previously mentioned paths.