Get more familiar with Cron Jobs - what are they, what function do they serve and the ways to assign them.
A cron job is an automatic task, which executes a specific action - usually running a script in a website hosting account. The task is planned, which means that it will run on a regular basis - hourly, daily, weekly and so on. There are lots of reasons to make use of a cron job for your sites. For example, you can get day-to-day reports how many visitors have signed up on your site, some temporary folder can be emptied automatically each week or a backup copy of the content may be created in a separate folder in your website hosting account. Using cron jobs will help you with the administration of your sites because it is possible to have numerous things completed automatically and get reports for them, as an alternative to investing precious time and efforts to complete them manually.
Cron Jobs in Hosting
Setting up a cron job will take you exactly three easy steps when you get a hosting
package with our company. The Hepsia Control Panel, which comes with all of the hosting accounts, has a section focused on the crons and when you get there, you have to enter the folder path to the script that you would like to be executed, the command path to the system files for the specified programming language (Perl, Python, PHP), that you can copy and paste from the Server Information section, and after that specify how often the cron job should run. For that time interval, we provide two choices - a user-friendly one with drop-down navigation where you can select the minutes, hours, days and/or months, as well as a more complex one that is used with other hosting Control Panels in which you need to type numbers and asterisks on specific positions that define separate time periods.
Cron Jobs in Semi-dedicated Servers
Setting up a cron job in our system is really simple. Once you sign in to the Hepsia Control Panel, which is provided with all the semi-dedicated server
accounts, you will be able to go to the Cron Jobs section where you just need to pick the directory path to the script file to be run and the command path for the specific language the script was written in - PHP, Perl, Python, Bash. You are able to find the aforementioned inside the Control Panel, and you can copy/paste it with just a couple of clicks. Next, select the time period for the cron using drop-down menus for the minutes, hours, days or months and you are all set. Our cron job setup wizard makes the entire process very easy and intuitive, so you will not have any problems if you don't have prior experience. If you are more experienced, you can also use the regular cron format with the two paths, digits and asterisks typed on a single line.