Cron Jobs
Be more familiar with Cron Jobs - what are they, what function do they have and how to create them.
A cron job is a command, which functions automatically in the background over a pre-set time period and it executes a script inside a website hosting account. There are no limits in regard to what the script can be - PHP, Bash, Perl, etc., what it can do, or what exactly your file extension should be. A few examples are supplying a regular report which contains all the client activity on a specified site, creating a regular backup or deleting the content in a particular folder. These types of tasks and / or some other script can be run on time intervals picked by the user - each few minutes, hours or days, and even monthly or perhaps annually according to the exact purpose. Making use of cron jobs to automate numerous elements of managing a site saves a lot of time and efforts.
-
Cron Jobs in Web Hosting
Creating a cron job will take you exactly 3 quick steps when you acquire a
web hosting plan from us. The Hepsia Control Panel, that is featured with all of the hosting accounts, has an area centered on the crons and as soon as you get there, you need to type the folder path to the script that you would like to be executed, the command path to the server files for the specific programming language (Perl, Python, PHP), which you can copy from the Server Information section, and after that specify how often the cron job needs to run. For the time interval, we provide two options - an easy to use one with drop-down menus where you can choose the minutes, hours, days and/or months, along with a more complex one that's used with different hosting Control Panels where you have to type numbers and asterisks on certain positions that outline separate time periods.
-
Cron Jobs in Semi-dedicated Servers
You are able to set up as many cron jobs as you would like if you host your websites with a
semi-dedicated server account from us and it does not take over one minute to do that. In contrast to various website hosting Control Panels where you should enter commands and use numbers and asterisks on a single line to set up a cron job, our Hepsia Control Panel contains an intuitive interface where you will be able to select how often a new cron should be executed by using simple drop-down menus to choose the minutes, hours, weekdays, etc. The two things which you'll need to submit manually are the folder path to the script file which has to be executed plus the command path to the programming language system files in the account (Perl, Python, PHP). You'll be able to copy the latter from the Server Information area of your hosting Control Panel, so it will not take you more than a couple of clicks to create a cron job within your semi-dedicated account.