A cron job is a command, which functions automatically in the background over a predefined period of time and it runs a script within a hosting account. There aren't any limitations regarding what the script can be - PHP, Bash, Perl, etc., what it could do, or what exactly your file extension should be. Examples are sending a daily report with all of the user activity within a specified website, generating a regular backup or erasing the content within a certain folder. These types of tasks or almost every other script can be run on time periods picked by the user - each couple of minutes, hours or days, and even monthly or perhaps once a year according to the exact intent. Working with cron jobs to automate diverse aspects of managing a website saves considerable time and efforts.

Cron Jobs in Shared Web Hosting

The Hepsia Control Panel, that is provided with all of the shared web hosting, allows you to set up cron jobs in several easy steps even if you have never used such a option before. As soon as you sign in and go to the Cron Jobs area where you can assign background tasks, you just need to paste the system access path to Perl, Python or PHP depending on the script you'll execute, type the path within your account for the specific script file and select how often your cron job will be executed. For the aforementioned, you'll be able to use the basic mode and pick the days, hours, minutes, etcetera through uncomplicated drop-down options, or in case you are more knowledgeable, you can use the advanced mode and specify the time interval with numbers and asterisks i.e. the standard method that you may have used with different Control Panels.

Cron Jobs in Semi-dedicated Servers

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 effortlessly. This is done in three very easy steps in the Hepsia Control Panel which is used to take care of the website hosting account, so you are able to set up a new cron even when you don't have any prior experience. In the Cron Jobs area of Hepsia, you'll discover a box where you need to copy/paste the path to the system files inside your account for the programming language your script was written in - PHP, Perl, Bash, Python, and so on. You also have to submit the folder path to the script file that'll be executed in the same box and use our intuitive drop-down menus to select how often our system will run the cron. More advanced users, can also employ the traditional method of setting up a cron job by typing digits and asterisks in certain positions in addition to the previously mentioned paths.