A cron job is a command, that runs conveniently in the background on a predefined time period and it runs a script within a hosting account. There won't be any restrictions regarding what the script is - PHP, Bash, Perl, etc., what it can do, or what exactly your file extension should be. Some examples are mailing a daily report with all the user activity on a specific site, generating a regular backup or deleting the content in a specific folder. These types of tasks as well as any other script can be executed on time intervals picked by the end user - each couple of minutes, hours or days, and even every month or perhaps once a year based on the particular intent. Making use of cron jobs to improve numerous areas of managing a site saves lots of time and efforts.

Cron Jobs in Cloud Hosting

The Hepsia Control Panel, which is featured with all of our Linux cloud hosting, will help you to set up cron jobs in a couple of easy steps even when you have not employed such a option previously. When you log in and navigate to the Cron Jobs section where you'll be able to assign background tasks, you just have to paste the system access path to Perl, PHP or Python depending on the script you'll run, type the path in your account for the specific script file and select how often your cron job will be carried out. For the aforementioned, you'll be able to use the standard mode and pick the minutes, hours, days, etcetera via simple drop-down options, or if you are more experienced, you can use the advanced mode and set the time period with numbers and asterisks i.e. the usual method that you may have used with various Control Panels.

Cron Jobs in Semi-dedicated Hosting

You'll be 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 more than a minute to do that. In contrast to various hosting Control Panels where you have to enter commands and use numbers and asterisks on a single line in order to create a cron job, the Hepsia Control Panel features a user-friendly interface where you are able to select how often a cron needs to be executed by using simple drop-down menus to select the minutes, hours, day of the week, etc. The two things which you will need to enter 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 (Perl, Python, PHP). You can copy/paste the latter from the Server Information section of your web hosting Control Panel, so it will not take you more than a few clicks to create a cron job inside your semi-dedicated account.