A cron job is an automated task, that performs a specific action - generally running a script inside a web hosting account. The task is pre-set, therefore it will run on a regular basis - weekly, daily, hourly and so on. There are many good reasons to use a cron job for your websites. For example, you can get day-to-day reports how many visitors have signed up on your site, a temporary folder can be emptied automatically once a week or a backup copy of your content may be generated in a separate folder within your web hosting account. Making use of cron jobs can help you with the administration of your websites as you can get lots of things carried out automatically and get reports about them, in lieu of spending precious time and efforts to complete them by hand.
Cron Jobs in Website Hosting
Setting up a cron job will take you precisely three simple steps if you get a website hosting plan with us. The Hepsia Control Panel, that is featured with all the hosting accounts, features an area centered on the crons and once you go there, you should type the folder path to the script that you would like to be executed, the command path to the server files for the particular programming language (Perl, Python, PHP), that you can copy from the Server Information section, and after that set how often the cron job has to run. For the time interval, our company offers two options - a user-friendly one with drop-down menus where you can choose the minutes, hours, days and/or months, and a more advanced one that's used with many other website hosting Control Panels where you have to type numbers and asterisks on particular positions that define different time periods.
Cron Jobs in Semi-dedicated Servers
In case you use a semi-dedicated server account from us to host your sites, you'll be able to install cron jobs for any of them effortlessly. This is done in 3 uncomplicated steps in the Hepsia Control Panel that is used to manage the web hosting account, so you'll be able to create a new cron even if you do not have any prior experience. Inside the Cron Jobs section of Hepsia, you'll discover a box where you need to copy and paste the path to the system files inside your account for the programming language your script was designed in - Perl, Bash, Python, PHP, etcetera. You also have to provide the folder path to the script file that'll be executed in the same box and then use our intuitive drop-down menus to choose how often our system will execute the cron. Advanced users, can also take advantage of the traditional method of creating a cron job by typing digits and asterisks in specific positions along with the aforementioned paths.