A cron job is a command, which runs conveniently in the background on a pre-set time period and it runs a script inside a web hosting account. There aren't any limitations regarding what the script can be - PHP, Bash, Perl, etc., what it can do, or what exactly the file extension will be. Examples are sending an everyday report which contains all of the user activity within a given website, generating a regular backup or erasing the content inside a certain folder. These types of tasks or any other script can be executed on time periods picked by the user - every few minutes, hours or days, and even once a month or maybe once a year according to the exact objective. Working with cron jobs to automate diverse areas of administrating a site saves lots of time and efforts.

Cron Jobs in Website Hosting

The Hepsia Control Panel, which is included with all of the website hosting plans, allows you to create cron jobs in several easy steps even when you have never employed such a feature previously. Once you log in and go to the Cron Jobs section where you can set background tasks, you just have to paste the system access path to PHP, Perl or Python according to the script you will run, type the path within your account for the specific script file and then select how often the cron job has to be carried out. For the latter, you can use the standard mode and select the days, hours, minutes, etc. through straightforward drop-down options, or maybe if you are more experienced, you can use the advanced mode and set the time period with numbers and asterisks i.e. the usual method which you may have employed with various Control Panels.

Cron Jobs in Semi-dedicated Servers

Installing a cron job in our system is a breeze. Once you log in to the Hepsia Control Panel, which is provided with all of the semi-dedicated server accounts, you will be able to go to the Cron Jobs section where you just need 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're able to find the latter inside the Control Panel, so you can copy and paste it with several clicks. Next, select the time interval for your cron via drop-down navigation for the minutes, hours, days or months and you are all set. Our cron job setup wizard makes the whole process very simple and intuitive, so you will not have any problems if you don't have prior experience. When you are more tech-savvy, you can also use the standard cron format with the two paths, digits and asterisks typed on a single line.