A cron job is an automatic task, that performs a certain action - typically running a script inside a website hosting account. The task is scheduled, so that it will run on a regular basis - hourly, daily, weekly and so on. There are lots of good reasons to employ a cron job for your websites. As an example, you may get daily reports how many visitors have registered on your website, a temporary folder can be emptied automatically each week or a backup copy of your content may be generated in a separate folder in your website hosting account. Making use of cron jobs can help you with the management of your websites because you're able to have lots of things completed automatically and have reports for them, as opposed to investing valuable time and efforts to do them by hand.
Cron Jobs in Shared Hosting
Setting up a cron job will take you simply 3 easy steps when you get a shared hosting
package from our company. The Hepsia Control Panel, that is featured with all the hosting accounts, features a section centered on the crons and when you get there, you should type the folder path to the script that you want to be executed, the command path to the system files for the specified programming language (Perl, Python, PHP), which you can copy from the Server Information section, and then specify how often the cron job has to run. For that time interval, we provide two choices - a user-friendly one with drop-down navigation where you can pick the minutes, hours, days or months, and a more advanced one that is used with many other hosting Control Panels in which you are expected to type numbers and asterisks on particular positions that define separate time periods.
Cron Jobs in Semi-dedicated Servers
Installing a cron job in our system is easy. Once you sign in to the Hepsia Control Panel, which is provided with all the semi-dedicated server
accounts, you are able to go to the Cron Jobs section where you just have to pick the directory path to the script file to be executed along with the command path for the particular language the script was designed in - PHP, Perl, Python, Bash. You are able to find the aforementioned within the Control Panel, so you can copy and paste it with just a few clicks. After that, select the time period for your cron via drop-down navigation for the minutes, hours, days or months and you'll be all set. Our cron job setup wizard makes the entire process really easy and intuitive, so you will not have any problems if you do not have prior experience. In case you are more experienced, you can also use the standard cron format with the two paths, digits and asterisks typed on a single line.