A cron job is a command, that functions automatically in the background over a predefined period of time and it also executes a script within a web hosting account. There won't be any restrictions in regard to what the script is - PHP, Bash, Perl, etc., what it could do, or what exactly the file extension will be. A few examples are supplying a daily report which contains all of the end user activity on a specific website, creating a routine backup or deleting the content in a particular folder. These types of tasks or almost every other script can be executed on intervals specified by the user - each couple of minutes, hours or days, and even once a month or once per year based on the exact objective. Using cron jobs to automate diverse aspects of administrating a site saves lots of time and efforts.

Cron Jobs in Website Hosting

The Hepsia Control Panel, that is provided with all of our website hosting, will allow you to set up cron jobs in a few simple steps even if you have not employed this function before. Once you log in and navigate to the Cron Jobs section where you are able to set background tasks, you just have to paste the server access path to PHP, Perl or Python based on the script that you'll run, type the path within your account to the actual script file and then select how often the cron job will be executed. For the latter, you'll be able to use the basic mode and choose the minutes, hours, days, etcetera through straightforward drop-down menus, or if you are more skilled, you can take full advantage of the advanced mode and specify the time period with numbers and asterisks i.e. the typical method which you may have used with various other Control Panels.

Cron Jobs in Semi-dedicated Servers

Installing a cron job in our system is very simple. Once you log in to the Hepsia Control Panel, which is provided with all the semi-dedicated server accounts, you're able to go to the Cron Jobs section where you only need to pick the directory path to the script file to be executed and the command path for the specific language the script was designed in - PHP, Perl, Python, Bash. You are able to find the latter in the Control Panel, so you can copy/paste it with several clicks. Next, choose the time period for your cron through drop-down menus for the minutes, hours, days or months and you're all set. Our cron job setup wizard makes the whole process very simple and intuitive, so you won't have any problems if you do not have previous experience. In case you are more experienced, you may also take advantage of the common cron format with the two paths, digits and asterisks typed on a single line.