A cron job is a command, that works conveniently in the background over a predefined period of time and it also executes a script in a web hosting account. There are no restrictions regarding what the script is - PHP, Bash, Perl, etcetera, what it could do, or what exactly your file extension should be. A few examples are sending an everyday report which contains all the client activity on a specific site, generating a routine backup or deleting the files inside a specific folder. These tasks or any other script can be executed on intervals selected by the user - each couple of minutes, hours or days, and even every month or once per year based on the exact purpose. Working with cron jobs to automate various areas of managing a website saves a lot of time and efforts.
Cron Jobs in Shared Hosting
Setting up a cron job requires just 3 easy steps when you acquire a shared hosting
package from us. The Hepsia Control Panel, which comes with all the website hosting accounts, features a section 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 server files for the specific programming language (Perl, Python, PHP), which you can copy from the Server Information section, and set how often the cron job needs to run. For the time interval, our company offers two choices - a user-friendly one with drop-down navigation where one can pick the minutes, hours, days and/or months, and a more complex one that's used with other website hosting Control Panels in which you need to type numbers and asterisks on particular positions that define separate periods of time.
Cron Jobs in Semi-dedicated Servers
You will be able to create as many cron jobs as you need when you host your sites with a semi-dedicated server
account from our company and it does not take over a minute to do that. Unlike various other web hosting Control Panels where you need to type commands and use numbers and asterisks on a single line so that you can create a cron job, our Hepsia Control Panel comes with an intuitive interface where you will be able to choose how often a new cron has to be executed by using simple drop-down menus to pick the minutes, hours, day of the week, etc. The only two things that you will have to submit manually are the folder path to the script file that 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/paste the latter from the Server Information area of your hosting Control Panel, therefore it will not take you more than a few clicks to set up a cron job inside your semi-dedicated account.