Cron Jobs
Discover what cron jobs are actually, what they do and ways to use them to improve your digital life.
A cron job is a command, which functions conveniently in the background over a predefined time period and it also executes a script in a web hosting account. There are no limits regarding what the script is - PHP, Bash, Perl, etcetera, what it could do, or what exactly your file extension should be. A few examples are sending a day-to-day report with the client activity on a given site, generating a regular backup or deleting the files within a certain folder. These types of tasks and / or any other script can be executed on time periods selected by the user - each couple of minutes, hours or days, and even every month as well as annually depending on the exact purpose. Making use of cron jobs to speed up diverse aspects of administrating a website saves a lot of time and efforts.
-
Cron Jobs in Shared Hosting
Setting up a cron job will take you simply 3 easy steps when you obtain a
shared hosting package through us. The Hepsia Control Panel, that comes with all of the web hosting accounts, features an area dedicated to the crons and as soon as you get there, you should type the folder path to the script that you would like to be run, the command path to the system files for the specific programming language (Perl, Python, PHP), that you can copy from the Server Information section, and then determine how frequently the cron job should run. For the time interval, we provide two choices - an easy to use one with drop-down navigation where one can select the minutes, hours, days or months, as well as a more complex one that is used with many other hosting Control Panels in which you have to type numbers and asterisks on certain positions that outline different time periods.
-
Cron Jobs in Semi-dedicated Servers
If you use a
semi-dedicated server account with our company to host your sites, you can create cron jobs for any of them with ease. This can be done in three uncomplicated steps from the Hepsia Control Panel that is used to control the website hosting account, so you can set up a new cron even when you do not have any prior experience. Within the Cron Jobs section of Hepsia, you'll find a box where you have to copy and paste the path to the system files inside your account for the programming language your script was designed in - Python, PHP, Perl, Bash, etc. You also have to submit the folder path to the script file that will be executed in the same box and use our intuitive drop-down menus to choose how often our system will run the cron. More advanced users, can also employ the traditional method of creating a cron job by typing digits and asterisks in certain positions as well as the previously mentioned paths.