A cron job is an automated task, which performs a certain action - typically executing a script inside a website hosting account. The task is scheduled, so it will run on a regular basis - weekly, daily, hourly etc. There are various good reasons to make use of a cron job for your sites. For example, you can get regular reports how many website visitors have signed up on your website, a temp folder may be emptied automatically each week or a backup of your content can be generated in a different folder within your website hosting account. Employing cron jobs will help you with the administration of your websites as you can get several things completed automatically and have reports for them, instead of spending valuable time and efforts to complete them yourself.

Cron Jobs in Shared Hosting

The Hepsia Control Panel, that is featured with all of the shared hosting, allows you to create cron jobs in a few simple steps even if you have not employed such a function previously. Once you log in and go to the Cron Jobs section where you are able to create background tasks, you just have to copy and paste the server access path to Perl, PHP or Python depending on the script that you'll run, type the path in your account to the specific script file and after that select how often the cron job will be executed. For the aforementioned, you'll be able to use the basic mode and pick the minutes, hours, days, etcetera through straightforward drop-down navigation, or if you are more skilled, you can use the advanced mode and specify the time period with numbers and asterisks i.e. the typical method that you may have employed with various other Control Panels.

Cron Jobs in Semi-dedicated Servers

You're able to create as many cron jobs as you would like when you host your sites in a semi-dedicated server account from us and it doesn't take more than a minute to do that. Unlike other hosting Control Panels where you need to enter commands and use numbers and asterisks on a single line to be able to set up a cron job, our Hepsia Control Panel features a user-friendly interface where you will be able to decide how often a cron needs to run by using simple drop-down menus to select the hours, minutes, weekdays, etc. The two things that you'll need to type in manually are the folder path to the script file which should be executed plus the command path to the programming language system files in the account (Perl, Python, PHP). You can copy the latter from the Server Information area of your web hosting Control Panel, therefore it won't take you more than several clicks to create a cron job within your semi-dedicated account.