A cron job is a command, that functions conveniently in the background on a predefined period and it runs a script within a website hosting account. There aren't any limits regarding what the script is - PHP, Bash, Perl, etc., what it can do, or what exactly your file extension will be. A few examples are mailing a daily report which contains all the end user activity on a specified website, generating a regular backup or erasing the files in a specific folder. These kinds of tasks and / or almost every other script can be executed on intervals selected by the end user - each couple of minutes, hours or days, and even once a month or once a year according to the exact goal. Using cron jobs to speed up numerous elements of managing a site saves considerable time and efforts.
Cron Jobs in Website Hosting
The Hepsia Control Panel, that is included with all of the Linux website hosting, will allow you to create cron jobs in several basic steps even if you have not employed this type of option before. After 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 based on the script you'll execute, type the path within your account for the actual script file and after that select how often the cron job has to be carried out. For the latter, you'll be able to use the basic mode and select the days, hours, minutes, etcetera via uncomplicated drop-down options, or maybe if you are more skilled, you can use the advanced mode and specify the time period with numbers and asterisks i.e. the usual method which you may have employed with various other Control Panels.
Cron Jobs in Semi-dedicated Hosting
Installing a cron job in our system is easy. Once you sign in to the Hepsia Control Panel, which is provided with all semi-dedicated server accounts, you'll be able to go to the Cron Jobs section where you only have to pick the directory path to the script file to be run as well as the command path for the specific language the script was designed in - PHP, Perl, Python, Bash. You'll be able to find the aforementioned within the Control Panel, so you can copy and paste it with just a few clicks. After that, select the time interval for the cron through drop-down menus for the months, days, hours or minutes and you will be all set. Our cron job setup wizard makes the entire process really simple and intuitive, so you will not have any problems if you don't have previous experience. In case you are more experienced, you can also use the conventional cron format with the two paths, digits and asterisks typed on one line.