A cron job is a command, which works automatically in the background on a predefined period of time and it also runs a script inside a hosting account. There aren't any restrictions in regard to what the script is - PHP, Bash, Perl, etcetera, what it could do, or what exactly the file extension should be. Some examples are supplying an everyday report which contains all of the client activity on a given website, creating a routine backup or erasing the content in a certain folder. These kinds of tasks and / or any other script can be run on time intervals picked by the end user - each couple of minutes, hours or days, and even once per month or once per year according to the particular intent. Working with cron jobs to automate different elements of administrating a site saves lots of time and efforts.
Cron Jobs in Website Hosting
Setting up a cron job requires precisely 3 quick steps if you get a website hosting plan from us. The Hepsia Control Panel, which comes with all the hosting accounts, has a section centered on the crons and once you go there, you need to enter the folder path to the script that you'd like to be run, the command path to the system files for the particular programming language (Perl, Python, PHP), which you can copy from the Server Information section, and after that set how frequently the cron job should run. For the time interval, we provide two choices - an easy to use one with drop-down navigation where you can choose the minutes, hours, days and/or months, along with a more complex one that's used with various other web hosting Control Panels in which you need to type numbers and asterisks on certain positions that outline different periods of time.
Cron Jobs in Semi-dedicated Servers
You can set up as many cron jobs as you would like when you host your sites in a semi-dedicated server account from us and it does not take over a minute to do that. Unlike other web hosting Control Panels where you should type commands and use numbers and asterisks on a single line to be able to create a cron job, our Hepsia Control Panel features a user-friendly interface where you will be able to choose how often a cron needs to be executed by using simple drop-down menus to select the minutes, hours, weekdays, etcetera. The only two things that you'll have to enter manually are the folder path to the script file that should be executed along with the command path to the programming language system files in the account (PHP. Perl, Python). You can copy and paste the aforementioned from the Server Information section of your website hosting Control Panel, therefore it will not take you more than a few clicks to set up a cron job in your semi-dedicated account.