Cron Jobs
Find out what cron jobs are, how they work and ways to make use of them to boost your digital life.
A cron job is a command, which runs conveniently in the background over a pre-set period and it runs a script in a website hosting account. There aren't any restrictions in regard to what the script is - PHP, Bash, Perl, etcetera, what it can do, or what exactly the file extension should be. Some examples are supplying a regular report with all of the end user activity within a specified site, generating a routine backup or deleting the content within a certain folder. These kinds of tasks as well as some other script can be run on time periods selected by the end user - each few minutes, hours or days, and even monthly as well as once per year depending on the specific purpose. Working with cron jobs to automate diverse aspects of administrating a website saves lots of time and efforts.
-
Cron Jobs in Cloud Website Hosting
When you get any of our
cloud website hosting plans, you're able to set up cron jobs with only a few mouse clicks via your Hepsia Control Panel even if you have never done that previously. Hepsia is quite user-friendly, so rather than typing numbers and asterisks on certain positions, which is the usual way to make a cron job, you can select the days, hours or minutes some script needs to be run using quick drop-down navigation. This is done from your Cron Jobs area of the Control Panel and, naturally, you can use the first method too, in case 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 along with the path to the PHP, Python or Perl system files inside your account. The latter is included in the Control Panel and you can copy/paste it, but if you encounter any difficulties, you can always call your support team.
-
Cron Jobs in Semi-dedicated Servers
You'll be able to create as many cron jobs as you need when you host your websites with a
semi-dedicated server account from us and it does not take over one minute to do that. Unlike various hosting Control Panels where you have to type in commands and use numbers and asterisks on a single line to set up a cron job, our Hepsia Control Panel has a user-friendly interface where you're able to choose how often a cron needs to run by using simple drop-down menus to select the minutes, hours, weekdays, etc. The two things that you'll need to type in manually are the folder path to the script file which should be executed and the command path to the programming language system files in the account (PHP. Perl, Python). You will be able to copy and paste the aforementioned from the Server Information area of your website hosting Control Panel, so it will not take you more than a few clicks to create a cron job in your semi-dedicated account.