A cron job is a command, which functions automatically in the background over a predefined period of time and it runs a script inside a web hosting account. There won't be any restrictions in regard to what the script is - PHP, Bash, Perl, etcetera, what it can do, or what exactly your file extension should be. Examples are sending a regular report with all the client activity within a specific site, generating a routine backup or deleting the content within a specific folder. These kinds of tasks and / or any other script can be executed on intervals chosen by the end user - every few minutes, hours or days, and even monthly or maybe annually according to the exact intent. Using cron jobs to automate numerous aspects of managing a website saves considerable time and efforts.
Cron Jobs in Shared Web Hosting
When you get any of our shared web hosting plans, you'll be able to set up cron jobs with a couple of mouse clicks using your Hepsia Control Panel even if you have never done that before. Hepsia is very user-friendly, so instead of typing numbers and asterisks on particular places, which is the usual way to create a cron job, you can pick the days, hours or minutes a script has to be run using quick drop-down menus. This is done in the Cron Jobs part of the Control Panel and, of course, you can use the first method too, when you are knowledgeable enough and you prefer it. In both cases, you'll need to enter the path to the script that'll be executed and the path to the PHP, Python or Perl system files inside your account. The last mentioned is available in the Control Panel and you can copy/paste it, yet if you encounter any issues, you can always get in touch with your technical support team.
Cron Jobs in Semi-dedicated Servers
In case you use a semi-dedicated server account from us to host your websites, you'll be able to create cron jobs for any of them with ease. This is done in 3 really easy steps in the Hepsia Control Panel which is used to manage the hosting account, so you'll be able to set up a new cron even if you lack previous experience. Inside the Cron Jobs area of Hepsia, you will discover a box where you should copy and paste the path to the system files in your account for the programming language your script was designed in - Python, PHP, Perl, Bash, etcetera. You also need to enter the folder path to the script file which will be executed in the same box and then use our intuitive drop-down menus to choose how often our system will execute the cron. More advanced users, can also take advantage of the traditional method of creating a cron job by typing digits and asterisks in certain positions as well as the aforementioned paths.