A cron job is a command, that runs automatically in the background on a pre-set period and it runs a script within a website hosting account. There won't be any limitations regarding what the script can be - PHP, Bash, Perl, etcetera, what it can do, or what exactly the file extension should be. Examples are sending a day-to-day report which contains all the end user activity within a specified site, generating a routine backup or deleting the content inside a certain folder. These kinds of tasks and / or some other script can be run on time intervals specified by the user - each couple of minutes, hours or days, and even once a month or annually based on the specific intent. Working with cron jobs to speed up different aspects of administrating a site saves considerable time and efforts.
Cron Jobs in Website Hosting
The Hepsia Control Panel, which is provided with all of the website hosting
, will allow you to create cron jobs in a few easy steps even when you have never employed this option before. When you log in and proceed to the Cron Jobs section where you'll be able to set background tasks, you just need to paste the server access path to PHP, Pyton or Perl with respect to the script you'll execute, type the path in your account for the specific script file and after that choose how often the cron job will be carried out. For the latter, you'll be able to use the basic mode and pick the days, hours, minutes, etcetera through straightforward drop-down menus, or maybe in case you are more knowledgeable, you can take full advantage of the advanced mode and specify the time interval with numbers and asterisks i.e. the typical method which you may have employed with different Control Panels.
Cron Jobs in Semi-dedicated Servers
You will be able to set up as many cron jobs as you need if you host your sites in a semi-dedicated server
account from our company and it doesn't take more than a minute to do that. In contrast to other website hosting Control Panels where you have to type in commands and use numbers and asterisks on a single line to be able to create a cron job, the Hepsia Control Panel features a user-friendly interface where you're able to choose how often a cron should run by using simple drop-down menus to pick the minutes, hours, day of the week, etcetera. The two things that you will have to submit manually are the folder path to the script file which should be run plus the command path to the programming language system files in the account (Perl, Python, PHP). You'll be able to copy and paste the aforementioned from the Server Information part of your website hosting Control Panel, which means that it won't take you more than a few clicks to set up a cron job inside your semi-dedicated account.