A cron job is an automatic task, that executes a specific action - usually running some script inside a hosting account. The task is scheduled, which means that it will run on a regular basis - weekly, daily, hourly and so on. There are many good reasons to use a cron job for your websites. For example, you can get daily reports how many website visitors have signed up on your site, some temp folder can be emptied automatically per week or a backup copy of the content can be generated in a different folder in your website hosting account. Making use of cron jobs can help you with the management of your sites as it is possible to get numerous things done automatically and have reports about them, instead of investing precious time and efforts to complete them manually.

Cron Jobs in Web Hosting

If you get any of our web hosting packages, you are able to create cron jobs with a few clicks through your Hepsia Control Panel even if you have never done that previously. Hepsia is really user-friendly, so as opposed to typing numbers and asterisks on certain places, which is the usual technique to set up a cron job, you will be able to pick the days, hours or minutes a given script needs to be executed using very simple drop-down menus. This is done in your Cron Jobs area of the Control Panel and, of course, you can use the first method too, in case you are skilled enough and you prefer it. In either case, you'll need to type in the path to the script that'll be executed along with the path to the PHP, Python or Perl system files in your account. The aforementioned can be found in the Control Panel and you can copy/paste it, still if you experience any issues, you can always get in touch with your support team.

Cron Jobs in Semi-dedicated Servers

Setting up a cron job in our system is very easy. Once you sign in to the Hepsia Control Panel, which is provided with all semi-dedicated server accounts, you're able to go to the Cron Jobs section where you only have to select the directory path to the script file to be run as well as the command path for the specific language the script was designed in - PHP, Perl, Python, Bash. You can find the aforementioned in the Control Panel, and you can copy and paste it with a couple of clicks. Next, select the time interval for the cron using drop-down menus for the minutes, hours, days or months and you're all set. Our cron job setup wizard makes the entire process really simple and intuitive, so you won't have any problems if you don't have prior experience. If you are more tech-savvy, you may also use the common cron format with the two paths, digits and asterisks typed on a single line.