Get more familiar with Cron Jobs - what are they, what function do they have and the ways to create them.
A cron job is a command, which runs conveniently in the background over a pre-set period of time and it runs a script inside a hosting account. There are no 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 supplying a regular report with all of the user activity on a given website, generating a regular backup or deleting the files in a specific folder. These kinds of tasks as well as some other script can be run on time periods specified by the end user - each few minutes, hours or days, and even every month or once per year depending on the specific objective. Using cron jobs to speed up diverse areas of administrating a website saves a lot of time and efforts.
Cron Jobs in Web Hosting
Creating a cron job requires simply 3 simple steps when you obtain a web hosting
plan with our company. The Hepsia Control Panel, that comes with all of the web hosting accounts, has a section dedicated to the crons and once you get there, you need to enter the folder path to the script which you want to be run, the command path to the server files for the selected programming language (Perl, Python, PHP), which you can copy from the Server Information section, and then determine how often the cron job has to run. For that time interval, our company offers two options - a user-friendly one with drop-down menus where one can select the minutes, hours, days or months, as well as a more complex one that's used with other web hosting Control Panels where you need to type numbers and asterisks on particular positions that outline separate time periods.
Cron Jobs in Semi-dedicated Hosting
If you use a semi-dedicated server
account from us to host your sites, you'll be able to create cron jobs for any of them without difficulty. This can be done in three very simple steps in the Hepsia Control Panel that's used to take care of the website hosting account, so you can create a new cron even when you do not have any previous experience. In the Cron Jobs part of Hepsia, you'll discover a box where you have to copy/paste the path to the system files inside your account for the programming language your script was written in - PHP, Python, Perl, Bash, etc. You also need to enter the folder path to the script file that will be executed in the same box and use our user-friendly drop-down menus to select how often our system will execute the cron. More experienced users, can also employ the traditional method of setting up a cron job by typing digits and asterisks in specific positions along with the previously mentioned paths.