Become more familiar with Cron Jobs - what exactly are they, what function do they have and how to assign them.
Cron jobs are timetabled tasks, that run on regular intervals of time pre-set by the end user and they execute scripts written in various programming languages - PHP, Perl, Bash, etc. Depending on what exactly a cron should do, it may run every single minute, once a week or even each year. There're plenty of practical applications to use cron jobs in the everyday management of a site. Such as, a backup copy of the full website may be generated once per day or perhaps once a week or an e-mail with all of the fresh signups for the day can be sent to a certain e-mail. Such automatic options will make the management of every website faster and easier. There aren't any specific file types that are allowed or forbidden, so any script can be executed with a cron job.
Cron Jobs in Shared Hosting
The Hepsia Control Panel, that is included with all of our Linux shared hosting packages
, will allow you to create cron jobs in a few easy steps even if you haven't ever used this type of feature before. When you log in and go to the Cron Jobs area where you'll be able to create background tasks, you just need to paste the system access path to Perl, Python or PHP depending on the script that you'll run, type the path inside of your account to the specific script file and after that choose how often your cron job has to be executed. For the latter, you'll be able to use the basic mode and pick the minutes, hours, days, etc. through uncomplicated drop-down options, or in case you are more skilled, you can take advantage of the advanced mode and specify the time period with numbers and asterisks i.e. the standard method that you may have employed with other Control Panels.
Cron Jobs in Semi-dedicated Hosting
You'll be able to set up as many cron jobs as you'd like if 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. In contrast to various other web hosting Control Panels where you have to type in commands and use numbers and asterisks on a single line to be able to create a cron job, the Hepsia Control Panel has an intuitive interface where you're able to decide how often a cron should run by using simple drop-down menus to select the hours, minutes, day of the week, etcetera. The two things which you'll have to enter manually are the folder path to the script file that should be executed and the command path to the programming language system files in the account (Perl, Python, PHP). You'll be able to copy/paste the latter from the Server Information area of your website hosting Control Panel, so it won't take you more than a couple of clicks to create a cron job within your semi-dedicated account.