A cron job is a command, that functions automatically in the background over a pre-set period and it executes a script in a hosting account. There are no limits regarding what the script can be - PHP, Bash, Perl, etc., what it can do, or what exactly your file extension should be. Some examples are sending an everyday report which contains all the client activity on a specified site, generating a routine backup or erasing the content in a particular folder. These kinds of tasks as well as any other script can be executed on time periods specified by the user - each few minutes, hours or days, and even monthly as well as once a year based on the particular purpose. Working with cron jobs to improve diverse areas of administrating a site saves considerable time and efforts.
Cron Jobs in Shared Hosting
The intuitive Hepsia Hosting Control Panel will allow you to create cron jobs without difficulty. In case you don't have prior experience with these types of things, you will find a very user-friendly interface where you can schedule the execution of your cron, choosing one or more time frame options - minutes, hours, days, months, or certain weekdays. The one thing that you will have to type in manually is the actual task to be run, which consists of the path for PHP, Perl and Python scripts as well as the path to the actual file that is to be executed. More capable users may also use the Advanced mode of the instrument and enter manually the execution period using numbers and asterisks. If you'd like more crons than your shared hosting
package allows you to have, you'll be able to upgrade this attribute in increments of five with just a couple of mouse clicks.
Cron Jobs in Semi-dedicated Servers
Installing a cron job in our system is really easy. Once you sign in to the Hepsia Control Panel, which comes with all semi-dedicated server
accounts, you will be able to 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 particular language the script was designed in - PHP, Perl, Python, Bash. You're able to find the latter within the Control Panel, so you can copy/paste it with just a few clicks. Next, choose the time period for the cron using drop-down menus for the months, days, hours or minutes 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. If you are more experienced, you can also take advantage of the common cron format with the two paths, digits and asterisks typed on one line.