What is a cron job? What ?job? does a cron job commonly perform? How could cron jobs make your web experience much easier?
A cron job is an automatic task, that performs a particular action - usually executing some script in a hosting account. The task is pre-set, which means that it will run regularly - hourly, daily, weekly etc. There are many reasons to make use of a cron job for your websites. For example, you can get daily reports how many website visitors have signed up on your website, some temporary folder can be emptied automatically each and every week or a backup of the content may be generated in a standalone folder within your hosting account. Using cron jobs can help you with the management of your websites as you'll be able to have a lot of things carried out automatically and get reports for them, in lieu of investing time and efforts to complete them yourself.
Cron Jobs in Shared Hosting
The Hepsia Control Panel, that is featured with all our shared hosting
, allows you to set up cron jobs in a couple of simple steps even when you have never employed such a feature before. After you sign in and navigate to the Cron Jobs section where you're able to set background tasks, you just need to paste the server access path to Perl, PHP or Python according to the script you'll execute, type the path in your account to the actual 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 basic mode and pick the days, hours, minutes, etcetera through straightforward drop-down options, or if you are more experienced, you can take full advantage of the advanced mode and set the time period with numbers and asterisks i.e. the standard method which you might have employed with various Control Panels.
Cron Jobs in Semi-dedicated Hosting
If you use a semi-dedicated server
account from our company to host your websites, you will be able to set up cron jobs for all of them with ease. This can be done in three simple steps inside the Hepsia Control Panel that is used to take care of the website hosting account, so you can create a new cron even when you do not have any previous experience. In the Cron Jobs area of Hepsia, you'll find a box where you have to copy/paste the path to the system files in your account for the programming language your script was written in - Perl, Bash, Python, PHP, and so on. You also need to enter 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. More experienced users, can also employ the traditional method of setting up a cron job by typing digits and asterisks in specific positions in addition to the previously mentioned paths.