A cron job is a command, which runs conveniently in the background over a pre-set time period and it executes a script in a website hosting account. There won't be any limits in regard to what the script is - PHP, Bash, Perl, etc., what it could do, or what exactly the file extension should be. Examples are mailing a day-to-day report with all the end user activity within a specified site, generating a regular backup or erasing the files within a specific folder. These kinds of tasks or almost every other script can be run on intervals specified by the end user - every few minutes, hours or days, and even once per month as well as once a year depending on the specific purpose. Using cron jobs to improve diverse aspects of managing a site saves considerable time and efforts.

Cron Jobs in Shared Hosting

The Hepsia Control Panel, that is featured with all of our shared hosting service, will allow you to create cron jobs in a few easy steps even if you haven't ever used such a option previously. When you sign in and proceed to the Cron Jobs section where you are able to create background tasks, you just have to copy and paste the server access path to Perl, PHP or Python with respect to the script you will run, type the path within your account for the specific script file and then choose how often your cron job has to be executed. For the aforementioned, you can use the standard mode and pick the days, hours, minutes, etc. through uncomplicated drop-down options, or maybe in case you are more skilled, you'll be able to use the advanced mode and set the time period with numbers and asterisks i.e. the standard method that you may have used with various other Control Panels.

Cron Jobs in Semi-dedicated Servers

In case you use a semi-dedicated server account with our company to host your sites, you'll be able to set up cron jobs for any of them effortlessly. This is done in three uncomplicated steps in the Hepsia Control Panel that's used to manage the web hosting account, so you will be able to set up a new cron even if you lack previous experience. Within the Cron Jobs part of Hepsia, you'll discover 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 - Perl, Bash, Python, PHP, and so on. You also need to provide the folder path to the script file which will be executed in the same box and then use our user-friendly drop-down menus to decide how often our system will execute the cron. More advanced users, can also employ the traditional method of setting up a cron job by typing digits and asterisks in specific positions as well as the previously mentioned paths.