A cron job is a command, which runs automatically in the background over a pre-set period and it executes a script within a web hosting account. There are no limitations in regard to what the script can be - PHP, Bash, Perl, etcetera, what it can do, or what exactly your file extension should be. Some examples are supplying an everyday report which contains all the end user activity on a specific site, generating a routine backup or deleting the files inside a specific folder. These tasks as well as some other script can be executed on time intervals specified by the user - every couple of minutes, hours or days, and even once per month or maybe annually based on the exact goal. Using cron jobs to automate various elements of administrating a website saves a lot of time and efforts.

Cron Jobs in Shared Website Hosting

The Hepsia Control Panel, that is included with all of our shared website hosting, will allow you to set up cron jobs in several basic steps even if you have never employed this option previously. Once you sign in and navigate to the Cron Jobs section where you're able to set background tasks, you just need to copy and paste the server access path to PHP, Perl or Python with respect to the script you'll execute, type the path in your account to the actual script file and choose how often your cron job has to be executed. For the aforementioned, you'll be able to use the basic mode and select the days, hours, minutes, etcetera using uncomplicated drop-down options, or maybe in case you are more skilled, you can take advantage of the advanced mode and specify the time interval with numbers and asterisks i.e. the typical method that you may have employed with different Control Panels.

Cron Jobs in Semi-dedicated Servers

In case you use a semi-dedicated server account from us to host your sites, you will be able to install cron jobs for all of them without any difficulty. This is done in three simple steps from the Hepsia Control Panel that is used to control the web hosting account, so you can create a new cron even if you don't have any previous experience. Within the Cron Jobs section of Hepsia, you will find a box where you need to copy/paste the path to the system files in your account for the programming language your script was designed in - Python, PHP, Perl, Bash, etc. You also have to submit the folder path to the script file that will be executed in the same box and use our intuitive drop-down menus to decide how often our system will run the cron. Experienced users, can also use the traditional method of setting up a cron job by typing digits and asterisks in specific positions as well as the aforementioned paths.