A cron job is a command, which runs automatically in the background over a pre-set period and it also runs a script in a web hosting account. There won't be any restrictions regarding what the script is - PHP, Bash, Perl, etcetera, what it can do, or what exactly your file extension should be. A few examples are sending a daily report with the end user activity on a given site, generating a regular backup or deleting the files in a certain folder. These types of tasks as well as some other script can be run on intervals picked by the end user - every couple of minutes, hours or days, and even monthly or once per year according to the specific intent. Using cron jobs to speed up various areas of managing a website saves considerable time and efforts.
Cron Jobs in Cloud Hosting
Setting up a cron job will take you simply 3 very simple steps if you get a cloud hosting
plan with our company. The Hepsia Control Panel, that is featured with all the hosting accounts, features an area centered on the crons and once you go there, you need to type the folder path to the script that you would like to be run, the command path to the server files for the specified programming language (Perl, Python, PHP), which you can copy from the Server Information section, and specify how often the cron job needs to run. For the time interval, we offer two options - an easy to use one with drop-down menus where you can choose the minutes, hours, days or months, and a more complex one that is used with various other hosting Control Panels where you need to type numbers and asterisks on specific positions that define separate time periods.
Cron Jobs in Semi-dedicated Servers
Setting up a cron job in our system is very easy. Once you sign in to the Hepsia Control Panel, which is included with all of the semi-dedicated server
accounts, you'll be able to go to the Cron Jobs section where you only have to select the directory path to the script file to be executed along with the command path for the particular language the script was designed in - PHP, Perl, Python, Bash. You will be able to find the aforementioned inside the Control Panel, and you can copy/paste it with a couple of clicks. Next, select the time period for the cron via drop-down menus for the minutes, hours, days or months and you are all set. Our cron job setup wizard makes the whole process really easy and intuitive, so you will not have any problems if you do not have prior experience. In case you are more tech-savvy, you may also take advantage of the standard cron format with the two paths, digits and asterisks typed on one line.