A cron job is a command, that functions automatically in the background over a pre-set period and it also runs a script in a hosting account. There aren't any limits regarding what the script is - PHP, Bash, Perl, etc., what it could do, or what exactly your file extension will be. Examples are sending a regular report with all of the client activity within a specific website, creating a routine backup or erasing the content in a certain folder. These types of tasks or almost every other script can be run on intervals chosen by the user - each couple of minutes, hours or days, and even once per month or once a year based on the exact objective. Working with cron jobs to improve numerous areas of managing a site saves a lot of time and efforts.

Cron Jobs in Cloud Hosting

The Hepsia Control Panel, that is provided with all our Linux cloud packages, will allow you to set up cron jobs in several basic steps even when you have not used this feature before. When you sign in and proceed to the Cron Jobs section where you're able to assign background tasks, you just need to paste the system access path to PHP, Pyton or Perl based on the script that you'll run, type the path inside of your account for the actual script file and then select how often the cron job will be executed. For the aforementioned, you can use the standard mode and choose the days, hours, minutes, etc. via simple drop-down navigation, or maybe if you are more skilled, you can take advantage of the advanced mode and set the time interval with numbers and asterisks i.e. the standard method which you might have employed with different Control Panels.

Cron Jobs in Semi-dedicated Hosting

If you use a semi-dedicated server account with our company to host your websites, you will be able to install cron jobs for any of them with ease. This can be done in three uncomplicated steps from the Hepsia Control Panel which is used to take care of the website hosting account, so you are able to create a new cron even if you don't have any previous experience. Inside the Cron Jobs area of Hepsia, you will find a box where you have to copy/paste the path to the system files in your account for the programming language your script was written in - PHP, Perl, Bash, Python, and so on. You also need to enter the folder path to the script file that will be executed in the same box and then use our intuitive drop-down menus to decide how often our system will execute the cron. Advanced users, can also employ the traditional method of creating a cron job by typing digits and asterisks in certain positions along with the aforementioned paths.