A cron job is a command, that runs automatically in the background on a predefined period and it also executes a script within a website hosting account. There aren't any restrictions regarding what the script can be - PHP, Bash, Perl, etcetera, what it can do, or what exactly the file extension should be. A few examples are sending a day-to-day report which contains all of the user activity within a specific website, generating a regular backup or erasing the files within a specific folder. These types of tasks or almost every other script can be run on time intervals picked by the user - every couple of minutes, hours or days, and even once per month or perhaps annually according to the exact intent. Working with cron jobs to improve various elements of administrating a site saves a lot of time and efforts.

Cron Jobs in Shared Hosting

The Hepsia Control Panel, which comes with all of our shared hosting plans, allows you to set up cron jobs in several easy steps even if you have not employed this feature previously. When you sign in and go to the Cron Jobs section where you're able to create background tasks, you just have to paste the system access path to Perl, PHP or Python depending on the script that you will run, type the path inside of your account for 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 minutes, hours, days, etc. via simple drop-down navigation, or maybe if you are more knowledgeable, you'll be able to use the advanced mode and set the time interval with numbers and asterisks i.e. the typical method which you may have used with other Control Panels.

Cron Jobs in Semi-dedicated Servers

You can set up as many cron jobs as you'd like if you host your websites with a semi-dedicated server account from us and it doesn't take more than a minute to do that. In contrast to various other website hosting Control Panels where you have to type commands and use numbers and asterisks on a single line so that you can set up a cron job, our Hepsia Control Panel comes with a time and effort saving interface where you're able to select how often a cron should be executed by using simple drop-down menus to select the hours, minutes, day of the week, etc. The only two things that you'll need to submit manually are the folder path to the script file which has to be run and the command path to the programming language system files in the account (PHP. Perl, Python). You can copy the aforementioned from the Server Information part of your hosting Control Panel, therefore it won't take you more than several clicks to set up a cron job within your semi-dedicated account.