A cron job is a command, that runs automatically in the background on a pre-set period and it runs a script inside a web hosting account. There aren't any limitations regarding what the script is - PHP, Bash, Perl, etcetera, what it can do, or what exactly your file extension will be. A few examples are supplying a daily report which contains all the end user activity on a given site, creating a routine backup or erasing the content within a certain folder. These types of tasks and / or almost every other script can be run on intervals chosen by the user - every few minutes, hours or days, and even monthly or annually according to the exact purpose. Working with cron jobs to automate different aspects of managing a site saves lots of time and efforts.

Cron Jobs in Shared Website Hosting

Creating a cron job requires just 3 very simple steps when you get a shared website hosting plan from us. The Hepsia Control Panel, which comes with all of the web hosting accounts, has a section centered on the crons and when you get there, you should type the folder path to the script which you want to be executed, the command path to the system files for the particular programming language (Perl, Python, PHP), that you can copy and paste from the Server Information section, and after that determine how often the cron job should run. For that time interval, our company offers two options - an easy to use one with drop-down menus where you can pick the minutes, hours, days and/or months, as well as a more advanced one that is used with different website hosting Control Panels in which you should type numbers and asterisks on certain positions that outline separate time periods.

Cron Jobs in Semi-dedicated Servers

Installing a cron job in our system is easy. Once you log in to the Hepsia Control Panel, which is included with all the semi-dedicated server accounts, you'll be able to go to the Cron Jobs section where you just have to choose the directory path to the script file to be executed along with the command path for the specific language the script was designed in - PHP, Perl, Python, Bash. You can find the aforementioned inside the Control Panel, thus you can copy/paste it with a few clicks. After that, choose the time period for the cron via drop-down navigation for the minutes, hours, days or months and you're all set. Our cron job setup wizard makes the whole process very simple and intuitive, so you won't have any problems if you don't have previous experience. In case you are more experienced, you can also use the common cron format with the two paths, digits and asterisks typed on a single line.