A cron job is a command, that runs automatically in the background over a pre-set time period and it runs a script within a hosting account. There are no limitations in regard to what the script can be - PHP, Bash, Perl, etc., what it could do, or what exactly the file extension will be. Some examples are supplying a day-to-day report which contains all the end user activity within a specific website, creating a routine backup or erasing the content in a certain folder. These kinds of tasks and / or any other script can be executed on time intervals chosen by the end user - each few minutes, hours or days, and even once a month or maybe annually depending on the specific purpose. Making use of cron jobs to improve diverse elements of administrating a site saves a lot of time and efforts.

Cron Jobs in Semi-dedicated Servers

If you use a semi-dedicated server account from us to host your sites, you are able to set up cron jobs for any of them effortlessly. This is done in 3 uncomplicated steps in the Hepsia Control Panel which is used to control the hosting account, so you can create a new cron even when you don't have any previous experience. Inside the Cron Jobs area of Hepsia, you'll discover a box where you have to copy/paste the path to the system files inside your account for the programming language your script was written in - Perl, Bash, Python, PHP, and so on. 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 choose how often our system will run 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 in addition to the aforementioned paths.