Cron Jobs
Be more familiar with Cron Jobs - what are they, what function do they have and how to assign them.
A cron job is an automatic task, that performs a certain action - generally running some script in the website hosting account. The task is scheduled, therefore it will run on a regular basis - hourly, daily, weekly etc. There are lots of good reasons to make use of a cron job for your sites. For example, you may get regular reports how many visitors have signed up on your website, some temp folder can be emptied automatically weekly or a backup of your content may be created in a different folder within your hosting account. Using cron jobs will help you with the management of your sites as you're able to have numerous things carried out automatically and have reports for them, as an alternative to investing precious time and efforts to complete them by hand.
-
Cron Jobs in Hosting
The Hepsia Control Panel, which comes with all our
Linux hosting packages, will allow you to create cron jobs in a couple of simple steps even when you have not employed this type of option before. Once you log in and navigate to the Cron Jobs section where you'll be able to set background tasks, you just have to copy and paste the server access path to PHP, Pyton or Perl according to the script that you'll execute, type the path inside of your account to the specific script file and after that choose how often your cron job will be carried out. For the latter, you can use the basic mode and select the days, hours, minutes, etcetera using straightforward drop-down menus, or in case you are more skilled, you can use the advanced mode and specify the time interval with numbers and asterisks i.e. the usual method that you may have used with various Control Panels.
-
Cron Jobs in Semi-dedicated Hosting
You can install as many cron jobs as you'd like if you host your websites with a
semi-dedicated server account from us and it does not take more than a minute to do that. Unlike various website hosting Control Panels where you have to enter commands and use numbers and asterisks on a single line to be able to create a cron job, our Hepsia Control Panel contains a user-friendly interface where you can select how often a cron needs to run by using simple drop-down menus to choose the hours, minutes, weekdays, etcetera. The two things that you will need to type in manually are the folder path to the script file which has to be executed and the command path to the programming language system files in the account (Perl, Python, PHP). You will be able to copy and paste the aforementioned from the Server Information part of your web hosting Control Panel, therefore it won't take you more than a few clicks to create a cron job within your semi-dedicated account.