A cron job is a command, which runs automatically in the background over a predefined time period and it also runs a script in a website hosting account. There are no limitations in regard to what the script is - PHP, Bash, Perl, etc., what it can do, or what exactly the file extension should be. Some examples are supplying a daily report with all of the user activity within a given website, creating a routine backup or deleting the files in a specific folder. These kinds of tasks as well as almost every other script can be executed on time periods specified by the end user - each few minutes, hours or days, and even once a month as well as once a year based on the specific goal. Working with cron jobs to automate diverse elements of managing a website saves lots of time and efforts.
Cron Jobs in Hosting
The Hepsia Control Panel, which is included with all of the hosting
, will help you to create cron jobs in a few simple steps even if you haven't ever employed this type of option before. As soon as you sign in and proceed to the Cron Jobs area where you are able to assign background tasks, you just need to paste the server access path to Perl, PHP or Python depending on the script that you'll run, type the path in your account to the specific script file and after that select how often your cron job will be executed. For the latter, you'll be able to use the basic mode and choose the minutes, hours, days, etcetera via straightforward drop-down menus, or if you are more knowledgeable, you can take advantage of the advanced mode and specify the time interval with numbers and asterisks i.e. the standard method which you may have used with various other Control Panels.
Cron Jobs in Semi-dedicated Servers
If you want to use cron jobs for some of your websites and you have a semi-dedicated server
account from our company, it will not take you more than a few clicks inside your Hepsia website hosting Control Panel to do that. Setting up a brand new cron job is very simple and you will be able to add one through the Advanced part of Hepsia where you will find a box to provide two different things - the path to the programming language system files that you will find in the Server Information area (PHP, Perl, Python) and the path to the script that you'd like the cron job to execute. The final step is to determine how often the cron will run and we've got an extremely user-friendly interface for that, therefore by using drop-down menus you are able to choose the interval in days, hours or minutes. In case you are more tech-savvy or used to the particular standard, albeit more complex way to assign a cron interval using digits and asterisks, you can use this solution as well.