A cron job is a command, that functions conveniently in the background on a predefined period and it runs a script inside a website hosting account. There aren't any restrictions in regard to what the script can be - PHP, Bash, Perl, etc., what it can do, or what exactly your file extension should be. Some examples are mailing a regular report with all the end user activity within a specific website, generating a routine backup or deleting the files in a certain folder. These kinds of tasks as well as any other script can be run on intervals specified by the end user - each few minutes, hours or days, and even once a month or maybe annually depending on the specific goal. Using cron jobs to speed up diverse aspects of managing a website saves considerable time and efforts.

Cron Jobs in Shared Hosting

The Hepsia Control Panel, that comes with all of the shared hosting, allows you to set up cron jobs in a few basic steps even if you haven't ever employed this type of function before. Once you log in and navigate to the Cron Jobs area where you'll be able to set background tasks, you just have to paste the system access path to Perl, Python or PHP depending on the script you will execute, type the path inside of your account for the specific script file and then choose how often your cron job will be carried out. For the aforementioned, you'll be able to use the standard mode and select the minutes, hours, days, etcetera via uncomplicated drop-down navigation, or maybe in case you are more skilled, you can take full advantage of the advanced mode and specify the time interval with numbers and asterisks i.e. the standard method which you might have used with other Control Panels.

Cron Jobs in Semi-dedicated Hosting

Setting up a cron job in our system is really simple. Once you log in to the Hepsia Control Panel, which comes with all the semi-dedicated server accounts, you're able to go to the Cron Jobs section where you just need to choose the directory path to the script file to be executed plus the command path for the specific language the script was written in - PHP, Perl, Python, Bash. You are able to find the aforementioned inside the Control Panel, so you can copy/paste it with several clicks. Next, choose the time interval for the cron through drop-down menus for the minutes, hours, days or months and you are all set. Our cron job setup wizard makes the process really easy and intuitive, so you will not have any problems if you do not have previous experience. When you are more tech-savvy, you can also take advantage of the common cron format with the two paths, digits and asterisks typed on a single line.