Cron jobs are scheduled tasks, which are executed on regular time intervals set by the end user and they execute scripts coded in various programming languages - PHP, Perl, Bash, and the like. Determined by what exactly a cron needs to do, it can run each and every minute, once a week or maybe each year. There're plenty of useful applications to employ cron jobs in your day-to-day administration of a site. For instance, a backup of the entire site can be generated once a day or perhaps weekly or an email with all new signups for the day may be sent to a specific e-mail address. Such automated options will make the administration of any website much easier. There aren't any specific file types that are allowed or forbidden, so every script can be run by using a cron job.
Cron Jobs in Website Hosting
Setting up a cron job requires just three very simple steps when you acquire a website hosting package with us. The Hepsia Control Panel, that comes with all of the web hosting accounts, has a section dedicated to the crons and as soon as you go there, you should enter the folder path to the script which you want to be executed, the command path to the system files for the selected programming language (Perl, Python, PHP), that you can copy from the Server Information section, and then set how frequently the cron job needs to run. For that time interval, we provide two choices - an easy to use one with drop-down navigation where one can select the minutes, hours, days and/or months, along with a more complex one that is used with various other hosting Control Panels where you have to type numbers and asterisks on certain positions that outline different periods of time.
Cron Jobs in Semi-dedicated Hosting
In case you use a semi-dedicated server account from our company to host your websites, you're able to create cron jobs for all of them effortlessly. This is done in three simple steps from the Hepsia Control Panel which is used to control the hosting account, so you are able to set up a new cron even when you don't have any prior experience. In the Cron Jobs section of Hepsia, you will discover a box where you need to copy/paste the path to the system files in your account for the programming language your script was designed in - Perl, Bash, Python, PHP, etc. You also have to submit the folder path to the script file which will be executed in the same box and use our intuitive drop-down menus to decide how often our system will run the cron. More experienced users, can also use the traditional method of setting up a cron job by typing digits and asterisks in certain positions as well as the previously mentioned paths.