Become more familiar with Cron Jobs - what exactly are they, what role do they have and the ways to create them.
Cron jobs are scheduled tasks, that are executed on regular time intervals pre-set by the user and they also execute scripts developed in various programming languages - PHP, Perl, Bash, and so on. Depending on what exactly a cron needs to do, it may run each minute, every week or perhaps once per year. There are lots of useful applications to use cron jobs in your everyday administration of a site. Such as, a backup copy of the whole website may be generated daily or perhaps once a week or an email with all new signups for the day can be sent to a particular e-mail. These types of automatic options will make the administration of every website much easier. There aren't any precise file types that are allowed / forbidden, so any script can be run employing a cron job.
Cron Jobs in Shared Website Hosting
The Hepsia Control Panel, that is included with all the shared website hosting plans
, allows you to create cron jobs in a couple of easy steps even when you have not used this option before. Once you sign in and visit the Cron Jobs area where you'll be able to set background tasks, you just have to paste the server access path to PHP, Perl or Python with respect to the script that you will execute, type the path in your account to the specific script file and choose how often the cron job has to be carried out. For the latter, you'll be able to use the standard mode and choose the days, hours, minutes, etc. using simple drop-down menus, or in case you are more experienced, you can use the advanced mode and set the time interval with numbers and asterisks i.e. the typical method which you might have used with various other Control Panels.
Cron Jobs in Semi-dedicated Servers
If you use a semi-dedicated server
account from our company to host your sites, you are able to set up cron jobs for any of them with ease. This can be done in three very simple steps in the Hepsia Control Panel that is used to take care of the website hosting account, so you can set up a new cron even if you don't have any previous experience. In the Cron Jobs area of Hepsia, you will find a box where you have to copy/paste the path to the system files inside your account for the programming language your script was designed in - Python, PHP, Perl, Bash, and so on. You also need to provide the folder path to the script file that'll be executed in the same box and then use our intuitive drop-down menus to decide how often our system will execute the cron. Advanced users, can also employ the traditional method of setting up a cron job by typing digits and asterisks in specific positions along with the previously mentioned paths.