A cron job is a command, that runs automatically in the background on a pre-set period and it executes a script within a hosting account. There won't be any limitations regarding what the script is - PHP, Bash, Perl, etcetera, what it can do, or what exactly your file extension should be. Examples are sending an everyday report which contains all of the client activity within a specific site, generating a routine backup or deleting the files within a certain folder. These types of tasks or any other script can be run on time periods picked by the user - every few minutes, hours or days, and even once a month or once a year depending on the particular purpose. Making use of cron jobs to automate numerous aspects of managing a site saves a lot of time and efforts.

Cron Jobs in Shared Hosting

The Hepsia Control Panel, that is featured with all of the shared hosting plans, allows you to set up cron jobs in a couple of easy steps even if you have not employed such a feature previously. As soon as you sign in and navigate to the Cron Jobs section where you can assign background tasks, you just have to paste the server access path to PHP, Perl or Python according to the script that you will run, type the path inside of your account for the actual script file and after that choose how often the cron job will be carried out. For the latter, you can use the standard mode and select the minutes, hours, days, etc. through simple drop-down navigation, or maybe if you are more skilled, you can take full advantage of the advanced mode and set the time interval with numbers and asterisks i.e. the usual method which you might have used with other Control Panels.

Cron Jobs in Semi-dedicated Servers

Installing a cron job in our system is quite easy. Once you log in to the Hepsia Control Panel, which is provided with all of the semi-dedicated server accounts, you'll be able to go to the Cron Jobs section where you just have to pick the directory path to the script file to be run along with the command path for the specific language the script was designed in - PHP, Perl, Python, Bash. You're able to find the latter in the Control Panel, thus you can copy/paste it with a couple of clicks. Then, select the time interval for the cron using drop-down navigation for the months, days, hours or minutes 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 don't have prior experience. When you are more tech-savvy, you can also use the regular cron format with the two paths, digits and asterisks typed on one line.