Cron Jobs
Get more familiar with Cron Jobs - what are they, what function do they serve and how to assign them.
Cron jobs are scheduled tasks, that run on regular time intervals set by the user and they also execute scripts developed in several programming languages - PHP, Perl, Bash, etc. Determined by what exactly a cron has to do, it can run each minute, once a week or maybe each year. There are a lot of useful applications to employ cron jobs in the daily administration of a website. For instance, a backup copy of the whole website may be generated once a day or weekly or an e-mail with all of the new signups for the day may be sent to a particular email address. These types of automatic options can make the administration of any website faster and easier. There are no specific file types that can be allowed / forbidden, so any script can be executed using a cron job.
-
Cron Jobs in Shared Hosting
The Hepsia Control Panel, which is featured with all of the
shared service, allows you to set up cron jobs in a few basic steps even when you haven't ever used this feature before. After you sign in and proceed to the Cron Jobs section where you can create background tasks, you just need to copy and paste the server access path to PHP, Perl or Python depending on the script you'll execute, type the path in your account for the actual script file and after that select how often the cron job has to be carried out. For the aforementioned, you'll be able to use the basic mode and choose the days, hours, minutes, etc. using uncomplicated drop-down navigation, or maybe if you are more experienced, 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 different Control Panels.
-
Cron Jobs in Semi-dedicated Servers
You will be able to assign as many cron jobs as you would like if you host your websites with a
semi-dedicated server account from our company and it doesn't take over one minute to do that. In contrast to other website hosting Control Panels where you have to type in commands and use numbers and asterisks on a single line to be able to set up a cron job, the Hepsia Control Panel comes with a user-friendly interface where you're able to select how often a cron has to be executed by using simple drop-down menus to choose the minutes, hours, weekdays, etc. The only two things which you will have to submit manually are the folder path to the script file which has to be run along with the command path to the programming language system files in the account (Perl, Python, PHP). You can copy and paste the latter from the Server Information area of your hosting Control Panel, therefore it will not take you more than a couple of clicks to set up a cron job within your semi-dedicated account.