A cron job is an automated task, that executes a certain action - usually executing some script inside a website hosting account. The task is pre-set, so it will run on a regular basis - hourly, daily, weekly and so on. There are lots of reasons to employ a cron job for your websites. As an example, you may get regular reports how many site visitors have registered on your site, a temporary folder can be emptied automatically per week or a backup of your content can be generated in a different folder inside your web hosting account. Employing cron jobs will help you with the management of your websites as you're able to have many things executed automatically and get reports for them, rather than investing valuable time and efforts to complete them yourself.
Cron Jobs in Shared Hosting
Creating a cron job requires exactly 3 quick steps if you get a shared hosting plan with us. The Hepsia Control Panel, that comes with all the web hosting accounts, features a section focused on the crons and when you go there, you should enter the folder path to the script which you want to be executed, the command path to the server files for the particular programming language (Perl, Python, PHP), which you can copy from the Server Information section, and then set how often the cron job has to run. For the time interval, we offer two options - a very intuitive one with drop-down menus where you can select the minutes, hours, days and/or months, as well as a more advanced one that is used with many other web hosting Control Panels where you are expected to type numbers and asterisks on particular positions that outline different periods of time.
Cron Jobs in Semi-dedicated Servers
You can assign as many cron jobs as you need when you host your sites with a semi-dedicated server account from us and it doesn't take more than one minute to do that. In contrast to various other website hosting Control Panels where you need to type in commands and use numbers and asterisks on a single line to set up a cron job, the Hepsia Control Panel features an intuitive interface where you'll be able to decide how often a cron needs to be executed by using simple drop-down menus to choose the hours, minutes, day of the week, etcetera. The only two things that you'll have to enter manually are the folder path to the script file that should be run and the command path to the programming language system files in the account (PHP. Perl, Python). You will be able to copy/paste the aforementioned from the Server Information section of your web hosting Control Panel, so it won't take you more than several clicks to set up a cron job inside your semi-dedicated account.