A cron job is a command, that works automatically in the background on a pre-set time period and it runs a script inside a hosting account. There are no limitations regarding what the script can be - PHP, Bash, Perl, etcetera, what it could do, or what exactly the file extension will be. Some examples are sending a day-to-day report which contains all the client activity within a specified site, creating a regular backup or erasing the content in a specific folder. These kinds of tasks and / or almost every other script can be run on time intervals picked by the end user - every couple of minutes, hours or days, and even once a month or maybe once a year according to the specific goal. Making use of cron jobs to automate numerous elements of administrating a site saves lots of time and efforts.
Cron Jobs in Shared Hosting
The Hepsia Control Panel, which is featured with all the shared hosting plans, will help you to set up cron jobs in several simple steps even when you haven't ever used this type of function previously. Once you log in and visit the Cron Jobs section where you're able to create background tasks, you just need to paste the server access path to PHP, Perl or Python depending on the script you will run, type the path in your account for the specific script file and after that select how often the cron job has to be carried out. For the aforementioned, you'll be able to use the standard mode and select the minutes, hours, days, etcetera using straightforward drop-down navigation, or if you are more experienced, you can take 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 various other Control Panels.
Cron Jobs in Semi-dedicated Servers
If you use a semi-dedicated server account from us to host your websites, you'll be able to install cron jobs for any of them with ease. This can be done in three uncomplicated steps from the Hepsia Control Panel which is used to control the hosting account, so you are able to create a new cron even when you don't have any previous experience. Inside the Cron Jobs section of Hepsia, you will find a box where you need to copy/paste the path to the system files inside your account for the programming language your script was written in - PHP, Python, Perl, Bash, etcetera. You also need to enter the folder path to the script file that will be executed in the same box and use our user-friendly drop-down menus to decide how often our system will execute the cron. Advanced users, can also take advantage of the traditional method of creating a cron job by typing digits and asterisks in certain positions along with the previously mentioned paths.