A cron job is a command, that runs automatically in the background on a predefined period of time and it executes a script inside a website hosting account. There won't be any restrictions in regard to what the script is - PHP, Bash, Perl, etcetera, what it can do, or what exactly the file extension should be. A few examples are supplying a regular report with all the end user activity on a specified website, creating a regular backup or deleting the content inside a certain folder. These kinds of tasks as well as any other script can be executed on time periods chosen by the end user - every few minutes, hours or days, and even monthly or maybe once a year depending on the exact goal. Using cron jobs to improve various areas of administrating a site saves lots of time and efforts.

Cron Jobs in Shared Website Hosting

The Hepsia Control Panel, that is featured with all of our shared website hosting, will help you to set up cron jobs in a few basic steps even if you have not employed such a option previously. After you sign in and navigate to the Cron Jobs area where you're able to create background tasks, you just have to paste the server access path to Perl, PHP or Python depending on the script that you'll execute, type the path inside of your account for the actual script file and choose how often your cron job has to be executed. For the latter, you'll be able to use the basic mode and pick the days, hours, minutes, etc. through simple drop-down navigation, or if you are more knowledgeable, you can take full advantage of the advanced mode and set the time period with numbers and asterisks i.e. the standard method that you may have used with other Control Panels.

Cron Jobs in Semi-dedicated Servers

Setting up a cron job in our system is really simple. Once you sign in to the Hepsia Control Panel, which is provided with all semi-dedicated server accounts, you're able to go to the Cron Jobs section where you only need to choose the directory path to the script file to be run as well as the command path for the particular language the script was written in - PHP, Perl, Python, Bash. You will be able to find the aforementioned in the Control Panel, so you can copy and paste it with several clicks. Then, select the time interval for your cron using drop-down navigation for the months, days, hours or minutes and you're all set. Our cron job setup wizard makes the process really easy and intuitive, so you will not have any problems if you do not have prior 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.