Cron Jobs
Understand what cron jobs are actually, what they do and ways to utilize them to improve your digital life.
A cron job is a command, which works automatically in the background over a pre-set period and it executes a script inside a web hosting account. There are no limits in regard to what the script can be - PHP, Bash, Perl, etc., what it could do, or what exactly the file extension will be. A few examples are mailing a daily report with all of the client activity on a specified website, creating a routine backup or erasing the content in a specific folder. These tasks as well as any other script can be executed on intervals chosen by the end user - every few minutes, hours or days, and even monthly or maybe annually based on the exact objective. Making use of cron jobs to speed up numerous elements of managing a website saves lots of time and efforts.
-
Cron Jobs in Cloud Hosting
The Hepsia Control Panel, that is featured with all our
Linux cloud packages, will allow you to set up cron jobs in several basic steps even when you haven't ever employed such a feature before. Once you sign in and proceed to the Cron Jobs section where you're able to assign background tasks, you just have to paste the server access path to Perl, PHP or Python depending on the script that you'll execute, type the path inside of your account to the actual script file and after that select how often your cron job has to be executed. For the latter, you can use the basic mode and pick the minutes, hours, days, etcetera using straightforward drop-down navigation, or maybe 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 standard method which you may have employed with various Control Panels.
-
Cron Jobs in Semi-dedicated Hosting
You're able to set up as many cron jobs as you'd like when you host your sites in a
semi-dedicated server account from our company and it does not take more than one minute to do that. Unlike many other hosting Control Panels where you need to type in commands and use numbers and asterisks on a single line to be able to set up a cron job, the Hepsia Control Panel comes with a time and effort saving interface where you can choose how often a cron should run by using simple drop-down menus to pick the minutes, hours, day of the week, etcetera. The only two things that you'll have to enter manually are the folder path to the script file which should be executed plus the command path to the programming language system files in the account (PHP. Perl, Python). You'll be able to copy the latter from the Server Information section of your hosting Control Panel, which means that it won't take you more than a couple of clicks to set up a cron job within your semi-dedicated account.