Cron jobs are scheduled tasks, which are executed on regular time intervals set by the user and they execute scripts developed in several programming languages - PHP, Perl, Bash, and so on. Determined by what exactly a cron needs to do, it can run every single minute, weekly or even each year. There are numerous practical applications to make use of cron jobs in the daily administration of a site. For example, a backup copy of the full website can be generated daily as well as weekly or an e-mail with all new signups for the day can be delivered to a certain e-mail address. Such automatic options will make the administration of every site faster and easier. There are no specific file types that can be allowed or forbidden, so any script can be executed employing a cron job.
Cron Jobs in Shared Web Hosting
Creating a cron job will take you exactly 3 easy steps if you get a shared web hosting plan with our company. The Hepsia Control Panel, that is featured with all the web hosting accounts, features a section dedicated to the crons and when you go there, you need to enter the folder path to the script that you'd like to be run, the command path to the server files for the particular programming language (Perl, Python, PHP), which you can copy from the Server Information section, and specify how often the cron job should run. For the time interval, we offer two options - an easy to use one with drop-down navigation where one can select the minutes, hours, days or months, as well as a more complex one that's used with other website hosting Control Panels where you are required to type numbers and asterisks on particular positions that define different periods of time.
Cron Jobs in Semi-dedicated Hosting
Setting up a cron job in our system is a breeze. 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 only need to select the directory path to the script file to be executed and the command path for the particular language the script was designed in - PHP, Perl, Python, Bash. You can find the aforementioned within the Control Panel, thus you can copy and paste it with a couple of clicks. Then, choose the time interval for your cron using drop-down navigation for the months, days, hours or minutes and you will be all set. Our cron job setup wizard makes the 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 take advantage of the common cron format with the two paths, digits and asterisks typed on a single line.