A cron job is a command, which functions conveniently in the background over a predefined period of time and it also executes a script within a website hosting account. There are no limitations regarding what the script can be - PHP, Bash, Perl, etc., what it can do, or what exactly the file extension will be. Examples are sending a daily report with all of the end user activity within a specified website, creating a regular backup or deleting the files within a certain folder. These types of tasks and / or almost every other script can be executed on intervals chosen by the end user - every couple of minutes, hours or days, and even monthly or once per year depending on the particular purpose. Working with cron jobs to automate different elements of administrating a site saves lots of time and efforts.
Cron Jobs in Shared Hosting
Setting up a cron job requires precisely 3 simple steps when you obtain a shared hosting plan from our company. The Hepsia Control Panel, that comes with all of the website hosting accounts, features a section focused on the crons and when you get there, you have to type the folder path to the script that you want to be run, the command path to the server files for the particular programming language (Perl, Python, PHP), that you can copy and paste from the Server Information section, and specify how often the cron job should run. For the time interval, we offer two choices - a user-friendly one with drop-down menus where you can pick the minutes, hours, days or months, as well as a more complex one that is used with various other web hosting Control Panels where you should type numbers and asterisks on particular positions that define different time periods.
Cron Jobs in Semi-dedicated Hosting
You are able to install as many cron jobs as you need when you host your websites with a semi-dedicated server account from our company and it does not take over one minute to do that. In contrast to various other website hosting Control Panels where you need to enter commands and use numbers and asterisks on a single line to set up a cron job, the Hepsia Control Panel features a user-friendly interface where you are able to select how often a cron has to be executed by using simple drop-down menus to pick the minutes, hours, day of the week, etcetera. The only two things that you'll have to type in manually are the folder path to the script file that should be executed along with the command path to the programming language system files in the account (PHP. Perl, Python). You can copy and paste the aforementioned from the Server Information part of your web hosting Control Panel, therefore it will not take you more than several clicks to set up a cron job inside your semi-dedicated account.