A cron job is an automated task, which executes a particular action - usually executing a script in a website hosting account. The task is pre-set, which means that it will run on a regular basis - hourly, daily, weekly and so on. There are various reasons to use a cron job for your websites. As an example, you may get daily reports how many visitors have signed up on your site, some temp folder can be emptied automatically once a week or a backup of the content may be created in a different folder within your hosting account. Employing cron jobs can help you with the management of your sites since you'll be able to have lots of things done automatically and get reports about them, as an alternative to investing valuable time and efforts to complete them by hand.

Cron Jobs in Cloud Web Hosting

If you get any of our cloud web hosting plans, you will be able to set up cron jobs with a couple of clicks via your Hepsia Control Panel even when you have not done that previously. Hepsia is really intuitive, so rather than entering numbers and asterisks on specific places, which is the typical way to set up a cron job, you will be able to pick the days, hours or minutes a given script has to be executed using quick drop-down menus. This is done from your Cron Jobs part of the Control Panel and, naturally, you can use the first method too, in case you're skilled enough and you prefer it. In both cases, you'll have to enter the path to the script that will be executed and the path to the PHP, Python or Perl system files in your account. The aforementioned can be found in the Control Panel and you are able to copy/paste it, yet if you encounter any issues, you can call your tech support team.

Cron Jobs in Semi-dedicated Servers

Setting up a cron job in our system is 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 just need to pick the directory path to the script file to be executed plus the command path for the particular language the script was written in - PHP, Perl, Python, Bash. You're able to find the aforementioned within the Control Panel, and you can copy and paste it with just a few clicks. Next, select the time interval for the cron via drop-down navigation for the months, days, hours or minutes and you are all set. Our cron job setup wizard makes the process really simple and intuitive, so you will not have any problems if you don't have previous experience. If you are more experienced, you may also take advantage of the common cron format with the two paths, digits and asterisks typed on one line.