A cron job is a command, which functions conveniently in the background on a predefined period of time and it also executes a script within a website hosting account. There aren't any limits regarding what the script is - PHP, Bash, Perl, etc., what it can do, or what exactly your file extension should be. Some examples are supplying a regular report with the client activity on a specific website, creating a regular backup or erasing the files inside a specific folder. These kinds of tasks or some other script can be run on intervals specified by the end user - every few minutes, hours or days, and even once per month or maybe once a year based on the particular goal. Using cron jobs to speed up diverse elements of administrating a website saves a lot of time and efforts.
Cron Jobs in Cloud Website Hosting
Creating a cron job requires exactly 3 very simple steps if you get a cloud website hosting plan from us. The Hepsia Control Panel, that is featured with all of the hosting accounts, has a section focused on the crons and as soon as you go there, you should type the folder path to the script that you would like to be executed, the command path to the system files for the specified programming language (Perl, Python, PHP), that you can copy and paste from the Server Information section, and after that determine how often the cron job needs to run. For that time interval, we offer two options - a user-friendly one with drop-down menus where one can pick the minutes, hours, days or months, along with a more advanced one that's used with different hosting Control Panels where you have to type numbers and asterisks on certain positions that define different time periods.
Cron Jobs in Semi-dedicated Servers
If you use a semi-dedicated server account from us to host your websites, you can install cron jobs for all of them without any difficulty. This is done in 3 really easy steps inside the Hepsia Control Panel that is used to take care of the website hosting account, so you will be able to create a new cron even when you lack previous experience. Inside the Cron Jobs part of Hepsia, you will discover a box where you need to copy and paste the path to the system files in your account for the programming language your script was written in - Perl, Bash, Python, PHP, and so on. You also have to provide the folder path to the script file that'll be executed in the same box then use our intuitive drop-down menus to choose how often our system will execute the cron. 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 aforementioned paths.