A cron job is an automatic task, which executes a specific action - usually running a script in the web hosting account. The task is pre-set, so it will run on a regular basis - hourly, daily, weekly etc. There are lots of reasons to make use of a cron job for your sites. For example, you can get regular reports how many site visitors have registered on your website, a temporary folder can be emptied automatically every week or a backup of your content may be made in a standalone folder inside your web hosting account. Making use of cron jobs can help you with the administration of your websites as you're able to have numerous things completed automatically and get reports for them, as opposed to investing time and efforts to do them yourself.
Cron Jobs in Shared Website Hosting
If you get any of our shared website hosting
plans, you will be able to create cron jobs with just a few clicks via your Hepsia Control Panel even if you have never done that previously. Hepsia is quite easy to use, so instead of typing numbers and asterisks on particular positions, which is the typical way to set up a cron job, you can pick the days, hours or minutes a given script should be run using quick drop-down navigation. This is done from your Cron Jobs area of the Control Panel and, of course, you can use the first method as well, if you are experienced enough and you prefer it. In either case, you will also have to enter the path to the script which will be executed along with the path to the PHP, Python or Perl system files in your account. The latter is included in the Control Panel and you are able to copy/paste it, but if you experience any kind of issues, you can always contact your technical support team.
Cron Jobs in Semi-dedicated Servers
Setting up a cron job in our system is easy. Once you log in to the Hepsia Control Panel, which comes with all semi-dedicated server
accounts, you are able to go to the Cron Jobs section where you only have to choose the directory path to the script file to be executed as well as the command path for the specific language the script was designed in - PHP, Perl, Python, Bash. You are able to find the latter inside the Control Panel, thus you can copy and paste it with several clicks. Then, choose the time period for the cron using drop-down menus for the months, days, hours or minutes and you will be all set. Our cron job setup wizard makes the entire process very simple and intuitive, so you won't have any problems if you do not have previous experience. If you are more tech-savvy, you can also use the conventional cron format with the two paths, digits and asterisks typed on one line.