A cron job is a command, that functions automatically in the background over a pre-set period and it also runs a script in a hosting account. There are no restrictions regarding what the script can be - PHP, Bash, Perl, etcetera, what it could do, or what exactly the file extension should be. A few examples are mailing a regular report with the end user activity within a given site, generating a regular backup or deleting the content in a specific folder. These types of tasks as well as any other script can be run on time intervals specified by the user - every couple of minutes, hours or days, and even monthly or perhaps once a year depending on the specific intent. Making use of cron jobs to automate diverse areas of administrating a website saves considerable time and efforts.
Cron Jobs in Cloud Hosting
When you get any of our cloud hosting plans, you'll be able to set up cron jobs with a couple mouse clicks in your Hepsia Control Panel even if you have never done that previously. Hepsia is very simple to use, so rather than typing numbers and asterisks on particular places, which is the usual method to set up a cron job, you'll be able to select the minutes, hours or days some script has to be executed using quick drop-down menus. This is done in your Cron Jobs area of the Control Panel and, naturally, you can always use the first method too, in case you're knowledgeable enough and you prefer it. In either case, you'll have to enter the path to the script that will be executed as well as the path to the PHP, Python or Perl system files within your account. The last mentioned can be found in the Control Panel and you can copy/paste it, still if you experience any kind of issues, you can always call your tech support team.
Cron Jobs in Semi-dedicated Hosting
In case you use a semi-dedicated server account with us to host your websites, you are able to create cron jobs for all of them without any difficulty. This can be done in three very simple steps in the Hepsia Control Panel which is used to control the website hosting account, so you're able to create a new cron even if you lack prior experience. In the Cron Jobs area of Hepsia, you will find a box where you have to copy/paste the path to the system files inside your account for the programming language your script was designed in - PHP, Perl, Bash, Python, and so on. You also need to submit the folder path to the script file that'll be executed in the same box and then use our intuitive drop-down menus to choose how often our system will execute the cron. Experienced users, can also take advantage of the traditional method of setting up a cron job by typing digits and asterisks in certain positions as well as the aforementioned paths.