A cron job is a command, which runs automatically in the background on a predefined time period and it also runs a script in a hosting account. There aren't any restrictions regarding what the script is - PHP, Bash, Perl, etc., what it could do, or what exactly the file extension will be. A few examples are mailing a daily report with all of the client activity within a specified site, creating a routine backup or erasing the content in a specific folder. These types of tasks as well as almost every other script can be executed on intervals specified by the end user - every few minutes, hours or days, and even once a month or maybe once per year based on the specific goal. Working with cron jobs to speed up different areas of administrating a site saves considerable time and efforts.
Cron Jobs in Hosting
The Hepsia Control Panel, that is included with all of the hosting plans, will allow you to set up cron jobs in a couple of easy steps even if you have never used such a feature previously. Once you log in and navigate to the Cron Jobs section where you are able to set background tasks, you just have to copy and paste the server access path to PHP, Pyton or Perl with respect to the script that you'll execute, type the path inside of your account to the actual script file and after that select how often your cron job has to be carried out. For the aforementioned, you can use the basic mode and select the minutes, hours, days, etc. via uncomplicated drop-down options, or in case you are more experienced, you'll be able to use the advanced mode and set the time period with numbers and asterisks i.e. the standard method that you may have used with other Control Panels.
Cron Jobs in Semi-dedicated Servers
In case you use a semi-dedicated server account with our company to host your websites, you're able to install cron jobs for any of them without any difficulty. This is done in 3 very easy steps from the Hepsia Control Panel which is used to manage the website hosting account, so you're able to create a new cron even if you don't have any previous experience. Inside the Cron Jobs section of Hepsia, you will discover 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 - Perl, Bash, Python, PHP, etcetera. You also need to provide the folder path to the script file that will be executed in the same box and then use our intuitive drop-down menus to decide how often our system will run the cron. More advanced 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.