A cron job is a command, that functions automatically in the background over a predefined period and it also executes a script in a website hosting account. There are no restrictions regarding what the script is - PHP, Bash, Perl, etcetera, what it could do, or what exactly the file extension should be. Some examples are mailing a day-to-day report which contains all the client activity within a given website, generating a routine backup or erasing the content inside a particular folder. These types of tasks or any other script can be run on intervals picked by the user - each couple of minutes, hours or days, and even once a month or perhaps annually according to the specific purpose. Making use of cron jobs to speed up numerous aspects of administrating a site saves considerable time and efforts.

Cron Jobs in Shared Hosting

The Hepsia Control Panel, that comes with all the shared hosting, will help you to set up cron jobs in several basic steps even when you haven't ever employed this feature previously. After you log in and visit the Cron Jobs section where you are able to assign background tasks, you just need 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 then select how often the cron job has to be executed. For the latter, you'll be able to use the standard mode and pick the minutes, hours, days, etc. via uncomplicated 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 typical method which you may have used with various other Control Panels.

Cron Jobs in Semi-dedicated Servers

Setting up a cron job in our system is really simple. Once you sign in to the Hepsia Control Panel, which is included with all semi-dedicated server accounts, you will be able to go to the Cron Jobs section where you only have to choose the directory path to the script file to be run and the command path for the particular language the script was written in - PHP, Perl, Python, Bash. You'll be able to find the latter inside the Control Panel, thus you can copy and paste it with just a few clicks. After that, select the time interval for the cron through drop-down navigation for the months, days, hours or minutes and you are all set. Our cron job setup wizard makes the entire process very simple and intuitive, so you won't have any problems if you don't have previous experience. In case you are more tech-savvy, you may also use the common cron format with the two paths, digits and asterisks typed on one line.