Cron Jobs
What's a cron job? What ?job? does a cron job commonly perform? How can cron jobs make your web experience quite a bit easier?
A cron job is a command, that runs automatically in the background on a predefined time period and it also runs a script inside a hosting account. There aren't any limitations regarding what the script can be - PHP, Bash, Perl, etcetera, what it can do, or what exactly the file extension should be. Some examples are sending a day-to-day report which contains all the user activity within a given website, generating a routine backup or deleting the files in a certain folder. These kinds of tasks and / or almost every other script can be run on intervals chosen by the end user - each couple of minutes, hours or days, and even once per month or annually based on the specific goal. Working with cron jobs to improve numerous elements of managing a site saves considerable time and efforts.
-
Cron Jobs in Shared Website Hosting
The Hepsia Control Panel, that is provided with all our
Linux shared website hosting packages, allows you to set up cron jobs in several simple steps even if you haven't ever used such a function before. Once you sign in and go to the Cron Jobs section where you'll be able to assign background tasks, you just have to copy and paste the server access path to PHP, Perl or Python based on the script you'll execute, type the path inside of your account for the specific 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 select the minutes, hours, days, etc. via straightforward drop-down navigation, or in case you are more skilled, you can use the advanced mode and set the time interval with numbers and asterisks i.e. the standard method which you might have employed with other Control Panels.
-
Cron Jobs in Semi-dedicated Hosting
You're able to install as many cron jobs as you'd like if you host your websites in a
semi-dedicated server account from our company and it does not take more than one minute to do that. Unlike various other hosting Control Panels where you should enter commands and use numbers and asterisks on a single line in order to set up a cron job, our Hepsia Control Panel has a time and effort saving interface where you're able to choose how often a new cron needs to be executed by using simple drop-down menus to choose the hours, minutes, day of the week, etc. The only two things that you will need to submit 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 aforementioned from the Server Information part of your web hosting Control Panel, therefore it won't take you more than a couple of clicks to set up a cron job inside your semi-dedicated account.