Cron Jobs
Be more familiar with Cron Jobs - what exactly are they, what role do they have and how to create them.
A cron job is a command, that runs automatically in the background over a predefined period of time and it also executes a script in a web hosting account. There aren't any limits regarding what the script can be - PHP, Bash, Perl, etcetera, what it can do, or what exactly your file extension will be. Some examples are supplying a regular report which contains all of the user activity on a specific site, generating a regular backup or deleting the content inside a particular folder. These types of tasks or almost every other script can be executed on time intervals picked by the user - each few minutes, hours or days, and even once per month or perhaps annually according to the specific purpose. Working with cron jobs to speed up numerous elements of administrating a website saves considerable time and efforts.
-
Cron Jobs in Shared Hosting
The Hepsia Control Panel, which comes with all of the
Linux shared hosting, will help you to set up cron jobs in a couple of basic steps even when you have never employed this type of feature previously. After you sign in and proceed to the Cron Jobs section where you'll be able to set background tasks, you just need to paste the system access path to Perl, Python or PHP according to the script that you will run, type the path within your account for the specific script file and after that choose how often the cron job will be carried out. For the latter, you can use the basic mode and choose the minutes, hours, days, etcetera using uncomplicated drop-down menus, or maybe if you are more knowledgeable, you'll be able to use the advanced mode and specify the time interval with numbers and asterisks i.e. the typical method that you might have used with various other Control Panels.
-
Cron Jobs in Semi-dedicated Servers
If you use a
semi-dedicated server account from us to host your sites, you can set up cron jobs for all of them with ease. This is done in three simple steps inside the Hepsia Control Panel that is used to manage the web hosting account, so you're able to set up a new cron even if you do not have any prior experience. Within the Cron Jobs part of Hepsia, you'll find a box where you have 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, etcetera. You also have to submit the folder path to the script file that'll be executed in the same box and use our intuitive drop-down menus to select how often our system will execute the cron. Advanced users, can also use the traditional method of creating a cron job by typing digits and asterisks in certain positions as well as the aforementioned paths.