Learn what cron jobs are, what they do and the way to utilize them to boost your digital life.
A cron job is an automatic task, which performs a particular action - usually executing a script inside a hosting account. The task is planned, so that it will run on a regular basis - hourly, daily, weekly etc. There are numerous reasons to make use of a cron job for your sites. For example, you may get day-to-day reports how many visitors have signed up on your site, a temporary folder may be emptied automatically once a week or a backup of your content may be made in a separate folder in your hosting account. Employing cron jobs can help you with the administration of your websites because you'll be able to have several things completed automatically and get reports for them, rather than spending valuable time and efforts to complete them by hand.
Cron Jobs in Shared Hosting
When you get any of our shared hosting
plans, you can create cron jobs with a couple of clicks through your Hepsia Control Panel even if you have never done that before. Hepsia is quite simple to use, so as opposed to writing numbers and asterisks on specific positions, which is the typical technique to create a cron job, you'll be able to pick the minutes, hours or days a given script has to be executed using simple drop-down navigation. This is done in the Cron Jobs part of the Control Panel and, of course, you can always use the first method as well, when you're experienced enough and you prefer it. In either case, you'll need to enter the path to the script which will be executed as well as the path to the PHP, Python or Perl system files inside your account. The aforementioned can be found in the Control Panel and you'll be able to copy/paste it, still if you experience any kind of issues, you can call your technical support team.
Cron Jobs in Semi-dedicated Servers
If you use a semi-dedicated server
account from us to host your websites, you'll be able to install cron jobs for any of them with ease. This is done in 3 very easy steps inside the Hepsia Control Panel which is used to control the website hosting account, so you are able to set up a new cron even if you do not have any prior experience. Within the Cron Jobs section 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 that'll be executed in the same box then use our user-friendly drop-down menus to choose how often our system will execute the cron. More experienced users, can also use the traditional method of creating a cron job by typing digits and asterisks in certain positions as well as the aforementioned paths.