Cron Jobs
Learn about what cron jobs are, what they do and the ways to use them to enhance your digital life.
A cron job is a command, that runs automatically in the background on a predefined time period and it runs a script within a hosting account. There aren't any limits in regard to what the script can be - PHP, Bash, Perl, etcetera, what it can do, or what exactly the file extension should be. A few examples are mailing a regular report which contains all of the user activity within a given website, creating a routine backup or deleting the files in a particular folder. These types of tasks and / or almost every other script can be run on time periods chosen by the end user - each few minutes, hours or days, and even once a month or maybe once a year based on the specific objective. Making use of cron jobs to speed up diverse aspects of managing a site saves considerable time and efforts.
-
Cron Jobs in Website Hosting
If you get any of our
website hosting packages, you can create cron jobs with a couple clicks through your Hepsia Control Panel even if you have never done that before. Hepsia is very easy to use, so as opposed to entering numbers and asterisks on specific places, which is the common method to assign a cron job, you can choose the minutes, hours or days some script should be executed using quick drop-down navigation. This is done in your Cron Jobs part of the Control Panel and, naturally, you can use the first method as well, if you're knowledgeable enough and you prefer it. In both cases, you'll need to enter the path to the script that will be executed along with the path to the PHP, Python or Perl system files within your account. The aforementioned is included in the Control Panel and you'll be able to copy/paste it, yet if you encounter any issues, you can always call your tech support team.
-
Cron Jobs in Semi-dedicated Hosting
If you'd like to use cron jobs for some of your sites and you have a
semi-dedicated server account from us, it won't take you more than a few clicks inside your Hepsia hosting Control Panel to do that. Installing a new cron job is very simple and you can add one from the Advanced part of Hepsia where you'll find a box to type in 2 things - the path to the programming language system files which you will find in the Server Information section (PHP, Python, Perl) and the path to the script that you'd like the cron job to execute. The final step is to determine how often the cron will run and we've got a rather intuitive interface for that, so by using drop-down menus you will be able to select the interval in minutes, hours or days. In case you are more tech-savvy or used to the particular standard, although more sophisticated way to assign a cron interval through digits and asterisks, you can use this solution as well.