Learn about what cron jobs are actually, how they work and how to make use of them to boost your digital life.
A cron job is a command, that runs automatically in the background over a pre-set time period and it runs a script inside a hosting account. There aren't any restrictions in regard to what the script can be - PHP, Bash, Perl, etc., what it can do, or what exactly your file extension will be. Some examples are supplying an everyday report with all the user activity within a specified website, creating a regular backup or erasing the files inside a certain folder. These kinds of tasks as well as any other script can be executed on intervals selected by the user - every few minutes, hours or days, and even every month or perhaps once a year according to the particular objective. Working with cron jobs to speed up numerous aspects of administrating a site saves a lot of time and efforts.
Cron Jobs in Cloud Web Hosting
The Hepsia Control Panel, that is provided with all of our Linux cloud web hosting
, allows you to set up cron jobs in several simple steps even if you have never used this type of function previously. Once you sign in and go to the Cron Jobs area where you're able to assign background tasks, you just have to paste the system access path to Perl, PHP or Python based on the script you'll run, type the path within your account to the specific script file and after that choose how often the cron job has to be carried out. For the aforementioned, you'll be able to use the standard mode and select the days, hours, minutes, etcetera through simple drop-down navigation, or maybe in case you are more knowledgeable, you can use the advanced mode and set the time period with numbers and asterisks i.e. the usual method that you might have used with other Control Panels.
Cron Jobs in Semi-dedicated Hosting
You can set up as many cron jobs as you would like if you host your sites in a semi-dedicated server
account from us and it doesn't take more than a minute to do that. In contrast to many other website hosting Control Panels where you should enter commands and use numbers and asterisks on a single line to create a cron job, our Hepsia Control Panel includes a time and effort saving interface where you are able to choose how often a new cron needs to be executed by using simple drop-down menus to pick the hours, minutes, weekdays, etc. The only two things that you will have to enter manually are the folder path to the script file which has to be run plus the command path to the programming language system files in the account (Perl, Python, PHP). You can copy and paste the latter from the Server Information section of your website hosting Control Panel, which means that it won't take you more than several clicks to set up a cron job within your semi-dedicated account.