A cron job is an automated task, that executes a certain action - usually running a script inside a web hosting account. The task is pre-set, therefore it will run regularly - hourly, daily, weekly and so on. There are many good reasons to employ a cron job for your websites. For instance, you may get daily reports how many website visitors have signed up on your website, a temporary folder can be emptied automatically per week or a backup copy of the content can be created in a separate folder in your web hosting account. Making use of cron jobs can help you with the administration of your sites since it is possible to have lots of things carried out automatically and get reports for them, rather than investing valuable time and efforts to complete them yourself.
Cron Jobs in Website Hosting
Setting up a cron job requires exactly 3 easy steps when you obtain a website hosting plan through us. The Hepsia Control Panel, which comes with all the hosting accounts, features an area centered on the crons and when you go there, you need to type the folder path to the script that you would like to be run, the command path to the system files for the particular programming language (Perl, Python, PHP), which you can copy and paste from the Server Information section, and then specify how frequently the cron job should run. For the time interval, we offer two choices - a very intuitive one with drop-down menus where one can pick the minutes, hours, days or months, as well as a more advanced one that's used with different website hosting Control Panels where you are required to type numbers and asterisks on certain positions that outline different time periods.
Cron Jobs in Semi-dedicated Servers
In case you use a semi-dedicated server account from our company to host your websites, you are able to create cron jobs for all of them with ease. This can be done in three very simple steps in the Hepsia Control Panel that's used to control the website hosting account, so you're able to set up a new cron even if you don't have any previous experience. In the Cron Jobs part of Hepsia, you will discover a box where you have to copy/paste the path to the system files inside your account for the programming language your script was designed in - Python, PHP, Perl, Bash, etcetera. You also have to provide the folder path to the script file that will be executed in the same box and then use our user-friendly drop-down menus to decide how often our system will execute the cron. More advanced users, can also employ the traditional method of creating a cron job by typing digits and asterisks in specific positions as well as the previously mentioned paths.