A cron job is a command, which functions conveniently in the background over a pre-set period and it executes a script in a web hosting account. There aren't any limitations in regard to what the script can be - PHP, Bash, Perl, etcetera, what it can do, or what exactly your file extension will be. Examples are supplying a daily report which contains all of the end user activity on a given website, creating a regular backup or deleting the files in a certain folder. These kinds of tasks or some other script can be executed on intervals chosen by the end user - each couple of minutes, hours or days, and even once per month as well as once per year depending on the specific objective. Working with cron jobs to automate diverse aspects of managing a site saves a lot of time and efforts.

Cron Jobs in Cloud Hosting

The Hepsia Control Panel, that comes with all our cloud hosting, will allow you to set up cron jobs in several easy steps even if you have never used this option previously. As soon as you log in and proceed to the Cron Jobs section where you can assign background tasks, you just have to copy and paste the system access path to Perl, Python or PHP according to the script you'll run, type the path in your account to the specific script file and after that select how often the cron job will be carried out. For the aforementioned, you can use the basic mode and choose the minutes, hours, days, etc. through simple drop-down menus, or maybe if you are more knowledgeable, you can take advantage of the advanced mode and set the time period with numbers and asterisks i.e. the usual method that you might have used with different Control Panels.

Cron Jobs in Semi-dedicated Servers

Setting up a cron job in our system is easy. Once you sign in to the Hepsia Control Panel, which is included with all of the semi-dedicated server accounts, you will be able to go to the Cron Jobs section where you only need to choose the directory path to the script file to be run along with the command path for the specific language the script was designed in - PHP, Perl, Python, Bash. You'll be able to find the latter within the Control Panel, so you can copy/paste it with just a few clicks. After that, select the time interval for the cron through drop-down navigation for the minutes, hours, days or months and you are all set. Our cron job setup wizard makes the process very easy and intuitive, so you will not have any problems if you don't have prior experience. When you are more tech-savvy, you may also take advantage of the conventional cron format with the two paths, digits and asterisks typed on a single line.