A cron job is a command, which works automatically in the background over a pre-set period and it executes a script within a website hosting account. There are no limits in regard to what the script can be - PHP, Bash, Perl, etcetera, what it could do, or what exactly your file extension should be. Examples are supplying a daily report with all the client activity within a specific site, generating a routine backup or erasing the files within a particular folder. These tasks or some other script can be run on intervals chosen by the end user - each couple of minutes, hours or days, and even every month as well as once per year according to the specific intent. Making use of cron jobs to speed up numerous elements of administrating a website saves considerable time and efforts.
Cron Jobs in Shared Website Hosting
The simple to use Hepsia Hosting Control Panel will help you to create cron jobs without any difficulty. If you don't have previous experience with these kinds of things, you will find a very easy-to-use interface where one can schedule the execution of your cron, choosing one or more time frame options - months, days, hours, minutes, or particular days of the week. The sole thing that you will have to enter yourself is the actual command to be run, which includes the path for PHP, Perl and Python scripts and also the path to the particular file that will be executed. More capable users may also take advantage of the Advanced mode of the tool and enter by hand the execution time period using numbers and asterisks. If you want more crons than your shared website hosting package lets you have, you'll be able to upgrade this attribute in batches of five with a few clicks.
Cron Jobs in Semi-dedicated Hosting
Setting up a cron job in our system is very easy. Once you log in to the Hepsia Control Panel, which is provided with all the semi-dedicated server accounts, you can go to the Cron Jobs section where you only have 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 latter in the Control Panel, thus you can copy and paste it with just a couple of clicks. Next, choose the time period for the cron using drop-down navigation for the months, days, hours or minutes and you're all set. Our cron job setup wizard makes the process really simple and intuitive, so you won't have any problems if you don't have prior experience. If you are more experienced, you can also take advantage of the regular cron format with the two paths, digits and asterisks typed on one line.