A cron job is a command, that runs conveniently in the background on a predefined period of time and it also runs a script inside a web hosting account. There aren't any restrictions 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 user activity on a given site, creating a regular backup or deleting the content within a certain folder. These tasks and / or some other script can be executed on time intervals specified by the user - every couple of minutes, hours or days, and even once per month as well as once a year depending on the exact objective. Making use of cron jobs to automate different elements of administrating a site saves lots of time and efforts.

Cron Jobs in Website Hosting

Creating a cron job will take you exactly 3 easy steps when you acquire a website hosting package from us. The Hepsia Control Panel, that is featured with all the website hosting accounts, has a section centered on the crons and once you go there, you have to type the folder path to the script that you would like to be executed, the command path to the server files for the selected programming language (Perl, Python, PHP), that you can copy from the Server Information section, and after that determine how often the cron job should run. For that time interval, we offer two choices - a user-friendly one with drop-down navigation where one can pick the minutes, hours, days or months, and a more advanced one that's used with different hosting Control Panels in which you are required to type numbers and asterisks on specific positions that define separate time periods.

Cron Jobs in Semi-dedicated Servers

In case you use a semi-dedicated server account from us to host your websites, you are able to create cron jobs for any of them effortlessly. This is done in 3 very easy steps from the Hepsia Control Panel that is used to manage the hosting account, so you can set up a new cron even if you don't have any prior experience. Within the Cron Jobs area of Hepsia, you will discover a box where you should copy and paste the path to the system files inside your account for the programming language your script was designed in - PHP, Python, Perl, Bash, etcetera. You also need to enter the folder path to the script file which will be executed in the same box and use our user-friendly drop-down menus to choose how often our system will run the cron. More experienced 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.