A cron job is a command, that runs automatically in the background over a predefined period of time and it also runs a script inside a web hosting account. There are no limitations regarding what the script can be - PHP, Bash, Perl, etcetera, what it can do, or what exactly your file extension will be. A few examples are mailing a regular report with the end user activity on a specified site, generating a regular backup or erasing the files in a particular folder. These tasks and / or almost every other script can be run on time periods chosen by the user - every couple of minutes, hours or days, and even monthly or once per year depending on the specific goal. Using cron jobs to automate numerous areas of managing a site saves considerable time and efforts.

Cron Jobs in Cloud Website Hosting

The Hepsia Control Panel, that comes with all our Linux cloud website hosting, will help you to create cron jobs in a couple of basic steps even when you have not employed such a function before. As soon as you sign in and navigate to the Cron Jobs area where you'll be able to set background tasks, you just have to copy and paste the system access path to PHP, Pyton or Perl based on the script that you'll execute, type the path within your account for the actual script file and after that select how often the cron job will be carried out. For the latter, you can use the standard mode and select the minutes, hours, days, etcetera using simple drop-down menus, or if you are more experienced, you can use the advanced mode and specify the time period with numbers and asterisks i.e. the usual method which you may have employed with other Control Panels.

Cron Jobs in Semi-dedicated Hosting

Setting up a cron job in our system is very simple. Once you log in to the Hepsia Control Panel, which is included with all semi-dedicated server accounts, you are able to go to the Cron Jobs section where you just need to pick the directory path to the script file to be run plus the command path for the specific language the script was designed in - PHP, Perl, Python, Bash. You are able to find the latter within the Control Panel, thus you can copy and paste it with a couple of clicks. Next, choose the time period for the cron through drop-down menus for the months, days, hours or minutes and you will be all set. Our cron job setup wizard makes the process really simple and intuitive, so you won't have any problems if you do not have previous experience. When you are more experienced, you can also use the regular cron format with the two paths, digits and asterisks typed on one line.