A cron job is a command, that runs conveniently in the background over a predefined time period and it executes a script within a hosting account. There won't be any limits in regard to what the script is - PHP, Bash, Perl, etcetera, what it can do, or what exactly your file extension should be. Examples are mailing an everyday report with all the end user activity on a given website, 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 periods specified by the end user - each few minutes, hours or days, and even monthly or maybe annually based on the specific purpose. Working with cron jobs to automate diverse areas of administrating a website saves lots of time and efforts.
Cron Jobs in Web Hosting
The Hepsia Control Panel, that is featured with all our Linux web hosting packages
, allows you to create cron jobs in a few basic steps even if you have never employed such a function before. After you sign in and navigate to the Cron Jobs area where you can set background tasks, you just need to copy and paste the server access path to PHP, Pyton or Perl with respect to the script you will run, type the path inside of your account to the specific script file and select how often the cron job has to be executed. For the latter, you'll be able to use the standard mode and choose the minutes, hours, days, etc. via simple drop-down navigation, or maybe in case you are more skilled, you can use the advanced mode and set the time interval with numbers and asterisks i.e. the standard method which you might have employed with various other Control Panels.
Cron Jobs in Semi-dedicated Hosting
In case you use a semi-dedicated server
account from us to host your websites, you will be able to set up cron jobs for any of them without difficulty. This can be done in 3 very easy steps inside the Hepsia Control Panel which is used to manage the hosting account, so you are able to create a new cron even when you do not have any prior experience. In the Cron Jobs part of Hepsia, you'll find a box where you have to copy and paste the path to the system files in your account for the programming language your script was designed in - Perl, Bash, Python, PHP, etcetera. You also have to enter the folder path to the script file that'll be executed in the same box and then use our intuitive drop-down menus to decide how often our system will execute the cron. More advanced users, can also use the traditional method of setting up a cron job by typing digits and asterisks in specific positions as well as the aforementioned paths.