Cron Jobs
Find out what cron jobs are actually, how they work and the way to utilize them to boost your digital life.
A cron job is an automated task, that executes a specific action - usually running some script in the hosting account. The task is planned, therefore it will run on a regular basis - weekly, daily, hourly and so on. There are many good reasons to make use of a cron job for your websites. As an example, you may get day-to-day reports how many visitors have registered on your website, some temp folder may be emptied automatically every week or a backup copy of the content may be made in a separate folder within your web hosting account. Using cron jobs will help you with the administration of your websites since you're able to have several things executed automatically and have reports for them, as an alternative to spending precious time and efforts to complete them yourself.
-
Cron Jobs in Hosting
The Hepsia Control Panel, which is provided with all the
hosting plans, will allow you to create cron jobs in a few basic steps even when you have not employed this type of option previously. As soon as you log in and visit the Cron Jobs section where you're able to set background tasks, you just have to copy and paste the system access path to PHP, Perl or Python depending on the script that you'll run, type the path inside of your account to the specific script file and after that select how often the cron job has to be executed. For the latter, you can use the standard mode and choose the days, hours, minutes, etc. using straightforward drop-down menus, or in case you are more skilled, you'll be able to use the advanced mode and set the time interval with numbers and asterisks i.e. the standard method that you may have employed with various Control Panels.
-
Cron Jobs in Semi-dedicated Servers
In case you use a
semi-dedicated server account from our company to host your websites, you are able to install cron jobs for any of them with ease. This can be done in 3 very easy steps in the Hepsia Control Panel that's used to take care of the website hosting account, so you are able to create a new cron even if you lack previous experience. In the Cron Jobs part of Hepsia, you will find a box where you need to copy/paste the path to the system files inside your account for the programming language your script was written in - PHP, Perl, Bash, Python, etcetera. You also need to submit the folder path to the script file that'll be executed in the same box then use our intuitive drop-down menus to select how often our system will execute the cron. Advanced users, can also take advantage of the traditional method of creating a cron job by typing digits and asterisks in certain positions in addition to the aforementioned paths.