Learn what cron jobs are, how they work and the way to make use of them to boost your digital life.
A cron job is a command, that runs conveniently in the background on a predefined time period and it also runs a script in a web hosting account. There won't be any limits regarding what the script can be - PHP, Bash, Perl, etc., what it can do, or what exactly the file extension will be. Some examples are mailing a day-to-day report which contains all of the end user activity within a given website, creating a regular backup or erasing the files inside a certain folder. These kinds of tasks as well as almost every other script can be run on time periods picked by the user - every few minutes, hours or days, and even every month or annually according to the exact purpose. Using cron jobs to improve different aspects of managing a website saves lots of time and efforts.
Cron Jobs in Shared Web Hosting
If you get any of our shared web hosting
packages, you'll be able to set up cron jobs with only a few mouse clicks through your Hepsia Control Panel even when you have never done that before. Hepsia is quite simple to use, so instead of typing numbers and asterisks on specific places, which is the typical technique to make a cron job, you can choose the minutes, hours or days a script should be run using simple drop-down menus. This is done from your Cron Jobs part of the Control Panel and, of course, you can always use the first method too, when you are experienced enough and you prefer it. In both cases, you'll have to type in 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 available in the Control Panel and you're able to copy/paste it, yet if you experience any kind of issues, you can call your technical support team.
Cron Jobs in Semi-dedicated Hosting
Setting up a cron job in our system is really easy. Once you log in to the Hepsia Control Panel, which is provided with all semi-dedicated server
accounts, you'll be able to go to the Cron Jobs section where you only have to choose the directory path to the script file to be run along with the command path for the specific language the script was written in - PHP, Perl, Python, Bash. You're able to find the aforementioned in the Control Panel, so you can copy and paste it with several clicks. Then, select the time period for the cron through drop-down navigation for the minutes, hours, days or months and you're all set. Our cron job setup wizard makes the whole process really simple and intuitive, so you won't have any problems if you do not have prior experience. If you are more tech-savvy, you can also use the common cron format with the two paths, digits and asterisks typed on one line.