Cron jobs are timetabled tasks, which are executed on regular intervals of time pre-set by the user and they execute scripts coded in numerous programming languages - PHP, Perl, Bash, etcetera. In accordance with what exactly a cron has to do, it can run every minute, once a week or even once per year. There are many handy applications to employ cron jobs in the daily management of a site. Such as, a backup of the whole site can be generated once a day or maybe weekly or an email with all fresh signups for the day can be sent to a particular e-mail address. Such automatic options will make the management of any website faster and easier. There are no particular file types which are allowed or forbidden, so any script can be run employing a cron job.
Cron Jobs in Shared Hosting
The Hepsia Control Panel, that comes with all the shared plans
, allows you to create cron jobs in several simple steps even if you have never employed this type of feature before. Once you log in and proceed to the Cron Jobs area where you're able to set background tasks, you just need to copy and paste the system access path to Perl, Python or PHP depending on the script you'll run, type the path within your account for the actual script file and after that select how often the cron job will be carried out. For the latter, you'll be able to use the basic mode and choose the days, hours, minutes, etcetera via uncomplicated drop-down options, or if you are more experienced, you can take advantage of the advanced mode and set the time period with numbers and asterisks i.e. the typical method that you may have used with various Control Panels.
Cron Jobs in Semi-dedicated Servers
You are able to set up as many cron jobs as you'd like if you host your sites with a semi-dedicated server
account from our company and it doesn't take more than a minute to do that. In contrast to various hosting Control Panels where you need to type commands and use numbers and asterisks on a single line to create a cron job, the Hepsia Control Panel contains an intuitive interface where you'll be able to decide how often a cron should be executed by using simple drop-down menus to choose the hours, minutes, weekdays, etcetera. The only two things that you'll have to submit manually are the folder path to the script file that has to be run along with the command path to the programming language system files in the account (Perl, Python, PHP). You will be able to copy/paste the latter from the Server Information part of your web hosting Control Panel, therefore it will not take you more than a few clicks to create a cron job within your semi-dedicated account.