Cron jobs are timetabled tasks, which run on regular intervals of time pre-set by the user and they also execute scripts written in various programming languages - PHP, Perl, Bash, etc. In accordance with what actually a cron should do, it may run every minute, once a week or even annually. There're plenty of practical applications to use cron jobs in the day-to-day management of a website. For instance, a backup of the entire site can be generated once a day or weekly or an e-mail message with all of the recent signups for the day may be sent to a given email. Such automated options can make the management of any site much easier. There won't be any specific file types that can be allowed / forbidden, so any script can be executed by using a cron job.
Cron Jobs in Web Hosting
Creating a cron job requires just three easy steps when you obtain a web hosting
package through us. The Hepsia Control Panel, which comes with all the web hosting accounts, has a section focused on the crons and as soon as you get there, you should enter the folder path to the script that you want to be executed, the command path to the server files for the particular programming language (Perl, Python, PHP), that you can copy from the Server Information section, and then set how often the cron job should run. For that time interval, we provide two options - a very intuitive one with drop-down navigation where you can pick the minutes, hours, days or months, and a more advanced one that is used with many other hosting Control Panels where you are required to type numbers and asterisks on certain positions that define separate time periods.
Cron Jobs in Semi-dedicated Servers
Setting up a cron job in our system is quite easy. Once you log in to the Hepsia Control Panel, which is included with all of the semi-dedicated server
accounts, you're able to go to the Cron Jobs section where you just need to pick the directory path to the script file to be executed and the command path for the particular language the script was written in - PHP, Perl, Python, Bash. You will be able to find the aforementioned within the Control Panel, thus you can copy/paste it with several clicks. After that, select the time period for the cron using drop-down navigation for the months, days, hours or minutes and you'll be all set. Our cron job setup wizard makes the process very easy and intuitive, so you won't have any problems if you do not have prior experience. If you are more experienced, you may also take advantage of the regular cron format with the two paths, digits and asterisks typed on a single line.