A cron job is a command, which works conveniently in the background on a pre-set period and it also runs a script within a hosting account. There are no limitations regarding what the script is - PHP, Bash, Perl, etc., what it could do, or what exactly your file extension should be. Examples are mailing an everyday report which contains all the client activity on a specified website, generating a regular backup or erasing the files within a specific folder. These tasks or some other script can be executed on time periods picked by the user - each few minutes, hours or days, and even once a month as well as once a year according to the exact intent. Working with cron jobs to automate numerous areas of administrating a site saves a lot of time and efforts.
Cron Jobs in Web Hosting
The Hepsia Control Panel, that is included with all the Linux web hosting, allows you to set up cron jobs in a couple of basic steps even if you have not used this function before. As soon as you sign in and navigate to the Cron Jobs area where you're able to set background tasks, you just need to copy and paste the server access path to PHP, Pyton or Perl with respect to the script you will run, type the path within your account for the actual script file and select how often the cron job will be executed. For the latter, you can use the standard mode and pick the minutes, hours, days, etc. through uncomplicated drop-down menus, or in case you are more skilled, you can use the advanced mode and set the time period with numbers and asterisks i.e. the standard method which you might have employed with various Control Panels.
Cron Jobs in Semi-dedicated Hosting
You will be able to install as many cron jobs as you'd like if you host your sites with 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 have to enter commands and use numbers and asterisks on a single line to be able to create a cron job, the Hepsia Control Panel includes an intuitive interface where you are able to select how often a cron has to run by using simple drop-down menus to choose the hours, minutes, weekdays, etc. The two things which you'll need 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 (PHP. Perl, Python). You'll be able to copy the latter from the Server Information part of your hosting Control Panel, so it will not take you more than a few clicks to set up a cron job inside your semi-dedicated account.