A cron job is a command, which functions conveniently in the background on a pre-set period and it executes a script within a hosting account. There won't be any limits regarding what the script can be - PHP, Bash, Perl, etcetera, what it can do, or what exactly the file extension should be. Examples are mailing a daily report with all of the client activity on a specified site, creating a regular backup or erasing the content within a specific folder. These types of tasks or any other script can be run on time periods chosen by the end user - each few minutes, hours or days, and even once a month or perhaps once a year based on the specific intent. Using cron jobs to automate diverse elements of managing a website saves considerable time and efforts.
Cron Jobs in Shared Hosting
Setting up a cron job requires simply 3 quick steps if you get a shared hosting
package from us. The Hepsia Control Panel, that comes with all of the web hosting accounts, has an area dedicated to the crons and when you get there, you need to type the folder path to the script which you want to be executed, the command path to the server files for the particular programming language (Perl, Python, PHP), which you can copy from the Server Information section, and after that determine how often the cron job should run. For that time interval, we offer two choices - a very intuitive one with drop-down menus where one can pick the minutes, hours, days and/or months, along with a more complex one that's used with many other web hosting Control Panels in which you are expected to type numbers and asterisks on particular positions that define separate time periods.
Cron Jobs in Semi-dedicated Servers
You will be able to assign as many cron jobs as you would like when you host your websites in a semi-dedicated server
account from our company and it doesn't take over one minute to do that. Unlike other web hosting Control Panels where you should type in commands and use numbers and asterisks on a single line to be able to set up a cron job, the Hepsia Control Panel features a user-friendly interface where you will be able to choose how often a new cron should run by using simple drop-down menus to pick the minutes, hours, day of the week, etcetera. The only two things that you will have to enter manually are the folder path to the script file which has to be run along with the command path to the programming language system files in the account (Perl, Python, PHP). You'll be able to copy the aforementioned from the Server Information section of your website hosting Control Panel, therefore it won't take you more than a couple of clicks to create a cron job inside your semi-dedicated account.