A cron job is a command, that functions automatically in the background on a predefined period and it executes a script in a hosting account. There are no limitations regarding what the script can be - PHP, Bash, Perl, etcetera, what it can do, or what exactly your file extension will be. Some examples are mailing a daily report with the user activity on a given site, generating a regular backup or deleting the files inside a specific folder. These types of tasks as well as any other script can be executed on time intervals specified by the end user - each few minutes, hours or days, and even once a month or maybe once a year according to the particular objective. Making use of cron jobs to automate numerous aspects of managing a site saves a lot of time and efforts.

Cron Jobs in Website Hosting

The Hepsia Control Panel, that comes with all our website hosting, will allow you to create cron jobs in a few basic steps even if you have not used this function previously. Once you sign in and proceed to the Cron Jobs area where you are able to set background tasks, you just have to copy and paste the system access path to Perl, PHP or Python based on the script that you'll run, type the path within your account for the actual script file and select how often your cron job will be carried out. For the aforementioned, you'll be able to use the basic mode and select the days, hours, minutes, etcetera via uncomplicated drop-down menus, or if you are more skilled, you can use the advanced mode and set the time interval with numbers and asterisks i.e. the standard method that you might have employed with various other Control Panels.

Cron Jobs in Semi-dedicated Servers

Setting up a cron job in our system is really easy. Once you log in to the Hepsia Control Panel, which comes with all the semi-dedicated server accounts, you are able to go to the Cron Jobs section where you only have to choose the directory path to the script file to be executed and the command path for the specific language the script was written in - PHP, Perl, Python, Bash. You are able to find the latter inside the Control Panel, thus you can copy/paste it with a couple of clicks. After that, select the time period for the cron via drop-down navigation for the months, days, hours or minutes and you'll be all set. Our cron job setup wizard makes the whole process very simple and intuitive, so you will not have any problems if you do not have prior experience. When 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.