A cron job is a command, which runs conveniently in the background over a pre-set time period and it executes a script in a website hosting account. There won't be any restrictions in regard to what the script is - PHP, Bash, Perl, etc., what it could do, or what exactly the file extension should be. A few examples are sending an everyday report which contains all of the end user activity on a given site, generating a routine backup or deleting the files inside a particular folder. These types of tasks as well as some other script can be run on time periods specified by the end user - each few minutes, hours or days, and even monthly as well as annually depending on the particular purpose. Using cron jobs to improve various aspects of managing a site saves lots of time and efforts.
Cron Jobs in Shared Hosting
If you get any of our shared hosting packages, you're able to set up cron jobs with a few clicks in your Hepsia Control Panel even if you have never done that previously. Hepsia is very easy to use, so instead of typing numbers and asterisks on certain places, which is the typical method to set up a cron job, you'll be able to pick the days, hours or minutes a given script needs to be run using uncomplicated drop-down navigation. This is done from the Cron Jobs section of the Control Panel and, of course, you can use the first method as well, in case you're knowledgeable enough and you prefer it. In either case, you'll have to type in the path to the script that'll be executed along with the path to the PHP, Python or Perl system files inside your account. The latter is available in the Control Panel and you can copy/paste it, yet if you encounter any issues, you can always contact your support team.
Cron Jobs in Semi-dedicated Servers
Installing a cron job in our system is really simple. Once you sign in to the Hepsia Control Panel, which is included with all the semi-dedicated server accounts, you are able to go to the Cron Jobs section where you only need to choose the directory path to the script file to be executed plus the command path for the specific language the script was written in - PHP, Perl, Python, Bash. You will be able to find the latter in the Control Panel, so you can copy/paste it with a couple of clicks. Then, select the time period for the cron using drop-down navigation for the minutes, hours, days or months and you're all set. Our cron job setup wizard makes the entire process really simple and intuitive, so you won't have any problems if you don't have prior experience. When you are more tech-savvy, you may also take advantage of the common cron format with the two paths, digits and asterisks typed on a single line.