Cron Jobs
Find out what cron jobs are actually, how they work and the ways to utilize them to enhance your digital life.
A cron job is an automated task, that performs a certain action - generally executing some script in a website hosting account. The task is scheduled, which means that it will run on a regular basis - weekly, daily, hourly 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 website visitors have registered on your website, some temporary folder can be emptied automatically every week or a backup copy of your content can be created in a separate folder within your hosting account. Employing cron jobs can help you with the management of your websites because you're able to have lots of things done automatically and have reports about them, as an alternative to investing precious time and efforts to do them manually.
-
Cron Jobs in Shared Hosting
The Hepsia Control Panel, which is provided with all the
shared hosting service, will help you to set up cron jobs in several easy steps even when you have not used this type of feature previously. After you log in and visit the Cron Jobs section where you are able to assign background tasks, you just need to paste the system access path to Perl, PHP or Python depending on the script that you'll run, type the path within your account to the specific script file and after that choose how often the cron job has to be executed. For the latter, you'll be able to use the standard mode and choose the minutes, hours, days, etc. through simple drop-down navigation, or if you are more experienced, you can take advantage of the advanced mode and specify the time interval with numbers and asterisks i.e. the typical method which you may have employed with various Control Panels.
-
Cron Jobs in Semi-dedicated Servers
You are able to install as many cron jobs as you need when you host your websites in a
semi-dedicated server account from our company and it doesn't take more than one minute to do that. Unlike many other web hosting Control Panels where you need to type in commands and use numbers and asterisks on a single line to create a cron job, the Hepsia Control Panel features a time and effort saving interface where you'll be able to decide how often a cron has to run by using simple drop-down menus to pick the minutes, hours, weekdays, etc. The only two things which you will have to type in manually are the folder path to the script file which should be run along with the command path to the programming language system files in the account (Perl, Python, PHP). You'll be able to copy and paste the latter from the Server Information section of your website hosting Control Panel, so it will not take you more than several clicks to set up a cron job in your semi-dedicated account.