Be more familiar with Cron Jobs - what exactly are they, what role do they serve and the ways to create them.
A cron job is a command, that runs conveniently in the background over a predefined period and it runs a script in a hosting account. There aren't any limits regarding what the script can be - PHP, Bash, Perl, etcetera, what it could do, or what exactly your file extension should be. A few examples are sending an everyday report which contains all of the user activity on a specific website, creating a regular backup or deleting the content inside a certain folder. These types of tasks and / or almost every other script can be executed on intervals specified by the end user - each couple of minutes, hours or days, and even every month as well as annually based on the particular purpose. Using cron jobs to speed up diverse elements of administrating a website saves a lot of time and efforts.
Cron Jobs in Shared Website Hosting
Setting up a cron job requires precisely three very simple steps if you get a shared website hosting
package with our company. The Hepsia Control Panel, which comes with all of the web hosting accounts, features an area focused on the crons and as soon as you get there, you need to enter the folder path to the script that you want to be run, the command path to the system files for the specific programming language (Perl, Python, PHP), which you can copy from the Server Information section, and then determine how often the cron job should run. For that time interval, our company offers two options - a very intuitive one with drop-down menus where one can select the minutes, hours, days or months, along with a more advanced one that's used with other hosting Control Panels where you are expected to type numbers and asterisks on specific positions that define separate time periods.
Cron Jobs in Semi-dedicated Hosting
In case you use a semi-dedicated server
account from our company to host your sites, you'll be able to create cron jobs for all of them without difficulty. This is done in 3 really easy steps inside the Hepsia Control Panel which is used to take care of the hosting account, so you can create a new cron even if you don't have any previous experience. In the Cron Jobs area of Hepsia, you will discover 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, Python, Perl, Bash, etc. You also have to submit the folder path to the script file which will be executed in the same box and then use our user-friendly drop-down menus to choose how often our system will execute the cron. Experienced users, can also take advantage of the traditional method of creating a cron job by typing digits and asterisks in certain positions in addition to the previously mentioned paths.