A cron job is a command, which functions automatically in the background over a predefined time period and it runs a script inside a website hosting account. There won't be any restrictions 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 day-to-day report with all of the client activity within a given site, creating a regular backup or deleting the content inside a certain folder. These tasks as well as any other script can be executed on time periods specified by the end user - each couple of minutes, hours or days, and even once per month as well as annually depending on the particular goal. Using cron jobs to automate different aspects of administrating a website saves lots of time and efforts.

Cron Jobs in Shared Hosting

The Hepsia Control Panel, which is featured with all of our shared hosting plans, will allow you to create cron jobs in a couple of easy steps even if you have never employed such a feature previously. As soon as you sign in and navigate to the Cron Jobs section where you'll be able to create background tasks, you just have to paste the server access path to PHP, Perl or Python with respect to the script that you'll run, type the path within your account for the actual script file and after that select how often your cron job will be carried out. For the aforementioned, you can use the standard mode and choose the days, hours, minutes, etcetera using straightforward drop-down options, or if you are more knowledgeable, you can use the advanced mode and specify the time interval with numbers and asterisks i.e. the usual method that you might have employed with other Control Panels.

Cron Jobs in Semi-dedicated Servers

Installing a cron job in our system is a piece of cake. Once you log in to the Hepsia Control Panel, which is provided with all of the semi-dedicated server accounts, you will be able to go to the Cron Jobs section where you just have to select the directory path to the script file to be run along with the command path for the specific language the script was written in - PHP, Perl, Python, Bash. You're able to find the latter in the Control Panel, and you can copy and paste it with a couple of clicks. After that, choose the time interval for the cron through drop-down menus for the months, days, hours or minutes and you are 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 can also use the regular cron format with the two paths, digits and asterisks typed on a single line.