A cron job is a command, that functions automatically in the background on a pre-set time period and it executes a script within a website hosting account. There aren't any restrictions in regard to what the script can be - PHP, Bash, Perl, etc., what it can do, or what exactly the file extension will be. Some examples are sending a daily report which contains all the user activity within a specific site, creating a regular backup or deleting the files in a certain folder. These kinds of tasks or almost every other script can be run on time periods selected by the end user - each few minutes, hours or days, and even once a month or once per year depending on the exact intent. Working with cron jobs to improve numerous elements of managing a website saves lots of time and efforts.

Cron Jobs in Cloud Website Hosting

The Hepsia Control Panel, that is included with all the cloud website hosting plans, will help you to set up cron jobs in a couple of simple steps even when you have not used such a function previously. As soon as you sign in and visit the Cron Jobs section where you can create background tasks, you just need to paste the server access path to Perl, PHP or Python depending on the script you will run, type the path in your account to the specific script file and after that choose how often the cron job will be carried out. For the aforementioned, you can use the basic mode and choose the minutes, hours, days, etc. through uncomplicated drop-down navigation, or in case you are more knowledgeable, you can take advantage of the advanced mode and specify the time period with numbers and asterisks i.e. the usual method that you might have employed with various Control Panels.

Cron Jobs in Semi-dedicated Servers

Installing a cron job in our system is very simple. Once you sign in to the Hepsia Control Panel, which is provided with all semi-dedicated server accounts, you're able to go to the Cron Jobs section where you only need to choose the directory path to the script file to be run and the command path for the particular language the script was designed in - PHP, Perl, Python, Bash. You are able to find the latter within the Control Panel, so you can copy/paste it with a few clicks. Next, choose the time period for your cron using drop-down menus for the minutes, hours, days or months and you are all set. Our cron job setup wizard makes the whole process really simple and intuitive, so you will not have any problems if you do not have prior experience. When you are more tech-savvy, you can also use the common cron format with the two paths, digits and asterisks typed on a single line.