A cron job is a command, which runs conveniently in the background over a predefined period of time and it executes a script inside a hosting account. There are no limitations regarding what the script can be - PHP, Bash, Perl, etc., what it could do, or what exactly the file extension will be. A few examples are mailing a day-to-day report with all of the user activity on a specific website, creating a regular backup or deleting the content in a specific folder. These kinds of tasks or any other script can be run on intervals chosen by the end user - every couple of minutes, hours or days, and even every month or once per year depending on the exact purpose. Making use of cron jobs to speed up various elements of administrating a website saves considerable time and efforts.
Cron Jobs in Shared Hosting
Setting up a cron job will take you exactly three quick steps when you obtain a shared hosting
package through our company. The Hepsia Control Panel, that comes with all the hosting accounts, has a section centered on the crons and when 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 specific programming language (Perl, Python, PHP), that you can copy and paste from the Server Information section, and then determine how often the cron job should run. For that time interval, we provide two choices - an easy to use one with drop-down navigation where you can select the minutes, hours, days and/or months, along with a more complex one that's used with many other website hosting Control Panels in which you need to type numbers and asterisks on specific positions that outline different time periods.
Cron Jobs in Semi-dedicated Hosting
You'll be able to set up as many cron jobs as you'd like when you host your sites in a semi-dedicated server
account from us and it doesn't take more than a minute to do that. In contrast to many other hosting Control Panels where you should type commands and use numbers and asterisks on a single line in order to set up a cron job, the Hepsia Control Panel features a time and effort saving interface where you are able to choose how often a cron should run by using simple drop-down menus to select the minutes, hours, weekdays, etcetera. The two things which you will have to submit manually are the folder path to the script file that has to be run plus the command path to the programming language system files in the account (Perl, Python, PHP). You can copy and paste the latter from the Server Information part of your web hosting Control Panel, so it won't take you more than several clicks to create a cron job within your semi-dedicated account.