A cron job is a command, that functions automatically in the background on a pre-set period of time and it also runs a script within a hosting account. There won't be any limits in regard to what the script can be - PHP, Bash, Perl, etcetera, what it can do, or what exactly your file extension should be. A few examples are mailing a regular report with all the client activity on a specified website, creating a regular backup or deleting the files inside a certain folder. These kinds of tasks as well as any other script can be run on time intervals chosen by the user - every few minutes, hours or days, and even monthly as well as once per year depending on the specific objective. Using cron jobs to improve different aspects of managing a site saves a lot of time and efforts.
Cron Jobs in Semi-dedicated Hosting
In case you use a semi-dedicated server account with our company to host your sites, you can create cron jobs for all of them without any difficulty. This is done in three very simple steps in the Hepsia Control Panel that is used to take care of the hosting account, so you are able to set up a new cron even if you lack previous experience. Within 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 written in - Perl, Bash, Python, PHP, etc. 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 use the traditional method of creating a cron job by typing digits and asterisks in specific positions as well as the aforementioned paths.