What is a cron job? What ?job? does a cron job typically perform? How can cron jobs make your web experience much easier?
A cron job is a command, which works automatically in the background over a pre-set period and it also runs a script within a web hosting account. There aren't any restrictions in regard to what the script is - PHP, Bash, Perl, etcetera, what it can do, or what exactly the file extension will be. Examples are mailing an everyday report with all the end user activity within a specified website, generating a routine backup or deleting the files in a particular folder. These tasks and / or some other script can be run on time intervals specified by the end user - each few minutes, hours or days, and even once per month or maybe once per year depending on the exact intent. Making use of cron jobs to speed up diverse areas of managing a site saves lots of time and efforts.
Cron Jobs in Shared Website Hosting
The Hepsia Control Panel, that is featured with all the shared website hosting plans
, allows you to create cron jobs in a couple of simple steps even when you have never used this function previously. Once you log in and navigate to the Cron Jobs section where you are able to set background tasks, you just need to paste the system access path to Perl, PHP or Python with respect to the script that you will execute, type the path in your account to the specific script file and then choose how often your cron job has to be executed. For the latter, you'll be able to use the basic mode and pick the days, hours, minutes, etcetera using straightforward drop-down navigation, or maybe in case you are more experienced, you can take advantage of the advanced mode and set the time interval with numbers and asterisks i.e. the standard method which you may have used with various other Control Panels.
Cron Jobs in Semi-dedicated Servers
You are able to set up as many cron jobs as you would like if you host your websites with a semi-dedicated server
account from our company and it does not take over a minute to do that. In contrast to various other hosting Control Panels where you have to enter commands and use numbers and asterisks on a single line to set up a cron job, our Hepsia Control Panel contains a user-friendly interface where you are able to choose how often a cron should be executed by using simple drop-down menus to select the hours, minutes, weekdays, etcetera. The only two things which you'll have to submit manually are the folder path to the script file which should be executed and the command path to the programming language system files in the account (PHP. Perl, Python). You'll be able to copy and paste the latter from the Server Information section of your web hosting Control Panel, so it won't take you more than a few clicks to create a cron job within your semi-dedicated account.