Cron Jobs
Learn what cron jobs are actually, what they do and how to utilize them to improve your digital life.
A cron job is a command, which functions automatically in the background over a pre-set period and it executes a script within a website hosting account. There aren't any limitations in regard to what the script can be - PHP, Bash, Perl, etcetera, what it could do, or what exactly the file extension will be. Some examples are supplying a daily report with the user activity on a specific site, creating a regular backup or erasing the content within a particular folder. These kinds of tasks or almost every other script can be run on time periods specified by the user - each couple of minutes, hours or days, and even once per month or perhaps once a year depending on the particular intent. Using cron jobs to improve numerous elements of administrating a site saves a lot of time and efforts.
-
Cron Jobs in Shared Hosting
The Hepsia Control Panel, which comes with all our
Linux shared hosting plans, will help you to create cron jobs in a couple of basic steps even when you haven't ever employed such a option previously. When you sign in and visit the Cron Jobs area where you're able to set background tasks, you just need to copy and paste the server access path to Perl, PHP or Python based on the script you'll run, type the path in your account for the actual script file and then select how often your cron job has to be executed. For the latter, you can use the basic mode and select the minutes, hours, days, etc. via uncomplicated drop-down navigation, or in case you are more skilled, you can take advantage of the advanced mode and set the time period with numbers and asterisks i.e. the typical method which you may have used with different Control Panels.
-
Cron Jobs in Semi-dedicated Servers
You'll be able to create as many cron jobs as you would like if you host your websites in a
semi-dedicated server account from us and it doesn't take over one minute to do that. In contrast to various other hosting Control Panels where you should type in commands and use numbers and asterisks on a single line in order to set up a cron job, the Hepsia Control Panel comes with a time and effort saving interface where you will be able to choose how often a cron needs to run by using simple drop-down menus to choose the minutes, hours, day of the week, etcetera. The only two things that you will have to type in manually are the folder path to the script file which should be executed and 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 section of your hosting Control Panel, so it will not take you more than a couple of clicks to set up a cron job within your semi-dedicated account.