A cron job is a command, which functions automatically in the background on a predefined period and it also runs a script in a hosting account. There aren't any limits regarding what the script can be - PHP, Bash, Perl, etc., what it could do, or what exactly the file extension should be. Some examples are supplying a daily report with the user activity on a given site, generating a routine backup or deleting the files in a specific folder. These types of tasks or some other script can be run on intervals selected by the end user - every couple of minutes, hours or days, and even monthly or maybe annually depending on the exact purpose. Making use of cron jobs to automate various aspects of managing a website saves considerable time and efforts.

Cron Jobs in Shared Hosting

The Hepsia Control Panel, which comes with all the shared hosting, allows you to create cron jobs in a couple of basic steps even when you have never employed such a feature previously. After you log in and go to the Cron Jobs area where you're able to set background tasks, you just have to paste the system access path to Perl, Python or PHP depending on the script that you will run, type the path in your account to the actual script file and select how often your cron job has to be executed. For the latter, you can use the basic mode and select the days, hours, minutes, etc. using uncomplicated drop-down menus, or maybe if you are more skilled, you can take full advantage of the advanced mode and set the time interval with numbers and asterisks i.e. the standard method that you may have employed with other Control Panels.

Cron Jobs in Semi-dedicated Servers

Installing a cron job in our system is very simple. Once you sign in to the Hepsia Control Panel, which is included with all semi-dedicated server accounts, you can go to the Cron Jobs section where you just have to select the directory path to the script file to be executed plus the command path for the particular language the script was designed in - PHP, Perl, Python, Bash. You'll be able to find the aforementioned in the Control Panel, thus you can copy/paste it with several clicks. Then, select the time interval for your cron through drop-down menus for the minutes, hours, days or months and you will be all set. Our cron job setup wizard makes the process really simple and intuitive, so you will not have any problems if you do not have previous experience. When you are more experienced, you may also take advantage of the common cron format with the two paths, digits and asterisks typed on one line.