A cron job is a command, that works conveniently in the background over a predefined period and it also runs a script inside a hosting account. There won't be any limits in regard to what the script is - PHP, Bash, Perl, etcetera, what it could do, or what exactly your file extension will be. Examples are supplying a daily report which contains all of the client activity within a specific site, creating a regular backup or deleting the content within a certain folder. These types of tasks or any other script can be executed on intervals chosen by the user - every few minutes, hours or days, and even once per month or perhaps annually depending on the specific intent. Using cron jobs to improve various areas of administrating a site saves lots of time and efforts.
Cron Jobs in Shared Hosting
The Hepsia Control Panel, that comes with all the shared hosting, will allow you to set up cron jobs in a couple of simple steps even when you have not used this type of function before. When you log in and go to the Cron Jobs area where you'll be able to set background tasks, you just need to copy and paste the system access path to Perl, Python or PHP according to the script that you'll run, type the path in your account to the actual script file and select how often the cron job has to be executed. For the aforementioned, you'll be able to use the standard mode and choose the days, hours, minutes, etc. through straightforward drop-down navigation, or maybe if you are more skilled, you'll be able to use the advanced mode and set the time interval with numbers and asterisks i.e. the usual method which you may have employed with various Control Panels.
Cron Jobs in Semi-dedicated Servers
Installing a cron job in our system is quite easy. Once you log in to the Hepsia Control Panel, which is provided with all semi-dedicated server accounts, you are able to go to the Cron Jobs section where you only 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 can find the aforementioned inside the Control Panel, and you can copy and paste it with just a couple of clicks. Next, select the time interval for your cron via drop-down menus for the minutes, hours, days or months and you will be all set. Our cron job setup wizard makes the process very simple and intuitive, so you will not have any problems if you do not have prior experience. In case you are more tech-savvy, you may also use the conventional cron format with the two paths, digits and asterisks typed on one line.