A cron job is a command, which runs automatically in the background on a predefined period and it also runs a script inside a website hosting account. There aren't any restrictions regarding what the script is - PHP, Bash, Perl, etcetera, what it can do, or what exactly your file extension will be. Examples are mailing a daily report which contains all the client activity within a given website, generating a regular backup or erasing the files in a certain folder. These types of tasks as well as any other script can be executed on time periods specified by the user - every few minutes, hours or days, and even once a month or maybe annually according to the exact intent. Using cron jobs to improve various areas of managing a site saves considerable time and efforts.
Cron Jobs in Shared Hosting
Creating a cron job will take you simply three simple steps when you obtain a shared hosting
plan from us. The Hepsia Control Panel, which comes with all of the website hosting accounts, features a section focused on the crons and as soon as you go there, you should type the folder path to the script that you would like to be executed, the command path to the system files for the specified programming language (Perl, Python, PHP), which you can copy from the Server Information section, and after that set how frequently the cron job has to run. For the time interval, we offer two choices - a user-friendly one with drop-down menus where one can choose the minutes, hours, days and/or months, along with a more advanced one that's used with other website hosting Control Panels in which you need to type numbers and asterisks on particular positions that outline separate periods of time.
Cron Jobs in Semi-dedicated Hosting
You'll be able to create as many cron jobs as you would like if you host your sites in a semi-dedicated server
account from us and it doesn't take more than a minute to do that. Unlike various hosting Control Panels where you need to type in commands and use numbers and asterisks on a single line to set up a cron job, the Hepsia Control Panel comes with an intuitive interface where you are able to decide how often a cron should run by using simple drop-down menus to pick the minutes, hours, day of the week, etcetera. The only two things that you'll need to type in manually are the folder path to the script file which should be run along with the command path to the programming language system files in the account (Perl, Python, PHP). You'll be able to copy the aforementioned from the Server Information area of your web hosting Control Panel, so it will not take you more than a couple of clicks to create a cron job inside your semi-dedicated account.