Cron Jobs
Find out what cron jobs are, how they work and the way to use them to boost your digital life.
A cron job is a command, which runs conveniently in the background over a pre-set period of time and it runs a script in a hosting account. There are no limitations in regard to what the script is - PHP, Bash, Perl, etc., what it could do, or what exactly your file extension will be. Some examples are supplying an everyday report which contains all the user activity within a specific site, generating a routine backup or deleting the content in a certain folder. These types of tasks and / or some other script can be executed on time intervals picked by the end user - every couple of minutes, hours or days, and even every month as well as annually based on the exact goal. Making use of cron jobs to automate various elements of administrating a website saves considerable time and efforts.
-
Cron Jobs in Shared Website Hosting
Setting up a cron job will take you exactly 3 simple steps when you get a
shared website hosting plan with our company. The Hepsia Control Panel, that comes with all of the website hosting accounts, has an area centered on the crons and as soon as you go there, you need to enter the folder path to the script that 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 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 navigation where you can choose the minutes, hours, days and/or months, as well as a more advanced one that is used with many other website hosting Control Panels where you have to type numbers and asterisks on particular positions that outline different periods of time.
-
Cron Jobs in Semi-dedicated Servers
You're able to set up as many cron jobs as you need when you host your websites in a
semi-dedicated server account from our company and it does not take over one minute to do that. In contrast to various other hosting Control Panels where you have to type commands and use numbers and asterisks on a single line to be able to set up a cron job, our Hepsia Control Panel contains a user-friendly interface where you can select how often a new cron should be executed by using simple drop-down menus to pick the hours, minutes, day of the week, etcetera. The only two things that you will need to type in manually are the folder path to the script file that has to be executed along with the command path to the programming language system files in the account (PHP. Perl, Python). You will be able to copy/paste the aforementioned from the Server Information part of your website hosting Control Panel, so it won't take you more than a few clicks to create a cron job within your semi-dedicated account.