Cron Jobs
Learn what cron jobs are, how they work and the ways to use them to boost your digital life.
A cron job is an automated task, that executes a particular action - typically executing a script in the web hosting account. The task is planned, so it will run regularly - weekly, daily, hourly and so on. There are lots of good reasons to employ a cron job for your sites. For instance, you may get daily reports how many visitors have signed up on your website, some temp folder may be emptied automatically once a week or a backup copy of your content may be made in a different folder inside your web hosting account. Employing cron jobs can help you with the management of your sites since you can have numerous things executed automatically and have reports about them, as opposed to spending precious time and efforts to do them by hand.
-
Cron Jobs in Hosting
When you get any of our
hosting plans, you're able to create cron jobs with only a few mouse clicks via your Hepsia Control Panel even if you have never done that before. Hepsia is really intuitive, so rather than writing numbers and asterisks on certain positions, which is the typical method to set up a cron job, you will be able to select the days, hours or minutes a script needs to be executed using very simple drop-down menus. The latter is done from 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 both cases, you'll have to type in the path to the script that'll be executed along with the path to the PHP, Python or Perl system files within your account. The last mentioned is available in the Control Panel and you'll be able to copy/paste it, still if you encounter any kind of difficulties, you can get in touch with your tech support team.
-
Cron Jobs in Semi-dedicated Servers
In case you use a
semi-dedicated server account from us to host your sites, you're able to install cron jobs for all of them without any difficulty. This is done in three uncomplicated steps inside the Hepsia Control Panel that's used to control the web hosting account, so you can set up a new cron even when you don't have any prior experience. Within the Cron Jobs part of Hepsia, you will find a box where you should copy/paste the path to the system files inside your account for the programming language your script was designed in - PHP, Perl, Bash, Python, and so on. You also need to enter the folder path to the script file that will be executed in the same box and then use our intuitive drop-down menus to select 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.