Learn about what cron jobs are actually, what they do and the way to utilize them to improve your digital life.
A cron job is a command, that works automatically in the background over a pre-set period of time and it also executes a script within a website hosting account. There aren't any limits regarding what the script can be - PHP, Bash, Perl, etc., what it can do, or what exactly your file extension will be. A few examples are supplying a day-to-day report with the user activity on a specified website, creating a regular backup or deleting the files inside a particular folder. These types of tasks and / or some other script can be executed on time intervals specified by the end user - every couple of minutes, hours or days, and even once per month or once a year according to the specific purpose. Using cron jobs to improve numerous aspects of administrating a site saves considerable time and efforts.
Cron Jobs in Shared Website Hosting
Setting up a cron job will take you exactly 3 easy steps when you get a shared website hosting
package through our company. The Hepsia Control Panel, which comes with all of the website hosting accounts, has a section centered on the crons and once you go there, you have to enter the folder path to the script that you want to be run, the command path to the server files for the selected programming language (Perl, Python, PHP), which you can copy and paste from the Server Information section, and determine how often the cron job needs to run. For that time interval, we offer two options - a user-friendly one with drop-down menus where you can pick the minutes, hours, days and/or months, and a more complex one that's used with other website hosting Control Panels in which you should type numbers and asterisks on specific positions that outline different periods of time.
Cron Jobs in Semi-dedicated Servers
You'll be able to set up as many cron jobs as you would like if you host your sites in a semi-dedicated server
account from our company and it does not take over one minute to do that. In contrast to various other website hosting Control Panels where you have to type in commands and use numbers and asterisks on a single line to be able to create a cron job, the Hepsia Control Panel features an intuitive interface where you'll be able to select how often a new cron has to run by using simple drop-down menus to choose the minutes, hours, weekdays, etc. The only two things that you'll have to submit manually are the folder path to the script file that should be run plus 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 section of your hosting Control Panel, therefore it will not take you more than several clicks to set up a cron job inside your semi-dedicated account.