A cron job is a command, which functions automatically in the background over a predefined period of time and it also executes a script within a hosting account. There are no restrictions in regard to 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 supplying a regular report with all the client activity on a specified website, creating a regular backup or erasing the content inside a particular folder. These tasks or almost every other script can be executed on intervals picked by the end user - each few minutes, hours or days, and even every month or perhaps once a year according to the specific goal. Using cron jobs to automate numerous aspects of managing a website saves a lot of time and efforts.

Cron Jobs in Shared Hosting

The Hepsia Control Panel, that is included with all our shared hosting, will allow you to set up cron jobs in several simple steps even if you have never used such a option before. As soon as you log in and navigate to the Cron Jobs area where you can assign background tasks, you just need to paste the server access path to PHP, Perl or Python based on the script that you'll run, type the path within your account to the specific script file and choose how often your cron job will be executed. For the aforementioned, you can use the basic mode and pick the minutes, hours, days, etcetera using simple drop-down navigation, or maybe if you are more knowledgeable, you can take full advantage of the advanced mode and specify the time period with numbers and asterisks i.e. the usual method that you might have used with various Control Panels.

Cron Jobs in Semi-dedicated Servers

You can 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 other hosting Control Panels where you need to enter commands and use numbers and asterisks on a single line in order to create a cron job, our Hepsia Control Panel has a user-friendly interface where you will be able to choose how often a new cron should run by using simple drop-down menus to select the hours, minutes, day of the week, etcetera. The only two things that you will need to submit manually are the folder path to the script file that should be executed and 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 section of your web hosting Control Panel, so it will not take you more than a couple of clicks to set up a cron job inside your semi-dedicated account.