A cron job is a command, which works conveniently in the background over a pre-set period and it also runs a script inside a hosting account. There are no limitations regarding what the script is - PHP, Bash, Perl, etcetera, what it can do, or what exactly the file extension will be. A few examples are sending a day-to-day report which contains all the end user activity on a given website, creating a regular backup or deleting the content in a certain folder. These kinds of tasks and / or any 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 annually based on the exact intent. Using cron jobs to improve different areas of administrating a site saves lots of time and efforts.

Cron Jobs in Shared Hosting

When you get any of our shared hosting plans, you'll be able to set up cron jobs with a couple of clicks via your Hepsia Control Panel even if you have not done that before. Hepsia is really easy to use, so rather than writing numbers and asterisks on specific positions, which is the typical technique to create a cron job, you can select the minutes, hours or days a script has to be run using very simple drop-down menus. This is done in your Cron Jobs area of the Control Panel and, of course, you can always use the first method too, when you're experienced enough and you prefer it. In either case, you will also need to enter the path to the script that'll be executed and the path to the PHP, Python or Perl system files within your account. The latter can be found in the Control Panel and you'll be able to copy/paste it, but if you experience any kind of difficulties, you can always call your support team.

Cron Jobs in Semi-dedicated Servers

Installing a cron job in our system is really easy. Once you log in to the Hepsia Control Panel, which is provided with all semi-dedicated server accounts, you are able to go to the Cron Jobs section where you only have to pick the directory path to the script file to be executed and the command path for the particular language the script was written in - PHP, Perl, Python, Bash. You are able to find the aforementioned in the Control Panel, thus you can copy and paste it with several clicks. Next, choose the time interval for your cron through drop-down navigation for the minutes, hours, days or months and you are all set. Our cron job setup wizard makes the whole process really simple and intuitive, so you will not have any problems if you do not have previous experience. In case you are more experienced, you may also use the regular cron format with the two paths, digits and asterisks typed on one line.