A cron job is a command, that functions conveniently in the background on a predefined period and it runs a script within a hosting account. There aren't any limitations in regard to what the script is - PHP, Bash, Perl, etc., what it can do, or what exactly your file extension should be. Examples are supplying a regular report with the client activity within a specific site, generating a regular backup or erasing the content inside a specific folder. These types of tasks as well as some other script can be executed on time intervals picked by the user - every few minutes, hours or days, and even once a month or once per year based on the exact objective. Using cron jobs to improve diverse elements of administrating a website saves lots of time and efforts.
Cron Jobs in Shared Hosting
The Hepsia Control Panel, that is included with all of our shared plans, allows you to set up cron jobs in a few simple steps even when you have never used such a function before. As soon as you sign in and go to the Cron Jobs section where you can assign background tasks, you just have to paste the server access path to Perl, PHP or Python depending on the script you will execute, type the path inside of your account to the specific script file and choose how often the cron job has to be executed. For the aforementioned, you can use the basic mode and select the minutes, hours, days, etc. via straightforward drop-down navigation, or maybe in case you are more knowledgeable, you can take advantage of the advanced mode and set the time interval with numbers and asterisks i.e. the usual method which you might have employed with various other Control Panels.
Cron Jobs in Semi-dedicated Servers
Installing a cron job in our system is quite easy. Once you sign in to the Hepsia Control Panel, which is included with all of the semi-dedicated server accounts, you can go to the Cron Jobs section where you only need to choose the directory path to the script file to be run plus the command path for the specific language the script was written in - PHP, Perl, Python, Bash. You'll be able to find the aforementioned inside the Control Panel, thus you can copy and paste it with a few clicks. Then, choose the time period for the cron through drop-down menus for the minutes, hours, days or months and you'll be all set. Our cron job setup wizard makes the process really simple and intuitive, so you won't have any problems if you do not have prior experience. When you are more experienced, you can also take advantage of the conventional cron format with the two paths, digits and asterisks typed on a single line.