A cron job is a command, which functions conveniently in the background on a predefined time period and it executes a script within a web hosting account. There are no limits regarding what the script is - PHP, Bash, Perl, etcetera, what it can do, or what exactly the file extension will be. Some examples are supplying a daily report which contains all of the user activity on a given site, generating a regular backup or erasing the content within a specific folder. These tasks or any other script can be run on intervals selected by the end user - every couple of minutes, hours or days, and even every month or once per year depending on the specific purpose. Working with cron jobs to automate various aspects of administrating a website saves lots of time and efforts.
Cron Jobs in Cloud Website Hosting
The Hepsia Control Panel, that is provided with all the cloud website hosting service
, will help you to set up cron jobs in several basic steps even when you have never used this type of feature previously. After you log in and visit the Cron Jobs section where you are able to create background tasks, you just have to paste the server access path to PHP, Pyton or Perl depending on the script that you will execute, type the path within your account for the specific script file and choose how often the cron job has to be executed. For the aforementioned, you can use the standard mode and select the days, hours, minutes, etcetera using straightforward drop-down navigation, or maybe if you are more skilled, you can take advantage of the advanced mode and specify the time interval with numbers and asterisks i.e. the usual method that you might have employed with different Control Panels.
Cron Jobs in Semi-dedicated Servers
You can assign as many cron jobs as you need when you host your websites in a semi-dedicated server
account from our company and it doesn't take more than one minute to do that. Unlike many other web hosting Control Panels where you should type in commands and use numbers and asterisks on a single line to create a cron job, our Hepsia Control Panel features a user-friendly interface where you'll be able to select how often a new cron should run by using simple drop-down menus to pick the minutes, hours, day of the week, etcetera. The two things which you will have to enter manually are the folder path to the script file that has to be executed plus the command path to the programming language system files in the account (Perl, Python, PHP). You can copy/paste the aforementioned from the Server Information section of your hosting Control Panel, so it won't take you more than several clicks to set up a cron job within your semi-dedicated account.