A cron job is a command, that functions automatically in the background over a predefined period and it also runs a script inside a web hosting account. There aren't 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. Examples are supplying a daily report with the end user activity on a specific website, creating a routine backup or deleting the files within a certain folder. These types of tasks and / or some other script can be run on intervals specified by the user - every couple of minutes, hours or days, and even every month as well as once a year according to the exact goal. Making use of cron jobs to speed up numerous elements of managing a website saves considerable time and efforts.
Cron Jobs in Web Hosting
If you get any of our web hosting packages, you're able to set up cron jobs with a couple mouse clicks through your Hepsia Control Panel even when you have never done that before. Hepsia is very simple to use, so instead of typing numbers and asterisks on certain positions, which is the typical method to make a cron job, you will be able to pick the days, hours or minutes some script needs to be executed using uncomplicated drop-down menus. The latter is done from the Cron Jobs area of the Control Panel and, naturally, you can always use the first method too, if you are knowledgeable enough and you prefer it. In both cases, you'll need to enter the path to the script which will be executed and the path to the PHP, Python or Perl system files within your account. The aforementioned is included in the Control Panel and you're able to copy/paste it, but if you experience any difficulties, you can always contact your support team.
Cron Jobs in Semi-dedicated Servers
Setting up a cron job in our system is very 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 just need to pick the directory path to the script file to be executed along with the command path for the particular language the script was written in - PHP, Perl, Python, Bash. You'll be able to find the latter inside the Control Panel, and you can copy and paste it with just a few clicks. After that, choose the time interval for your cron via drop-down navigation for the minutes, hours, days or months and you'll be all set. Our cron job setup wizard makes the entire process very easy and intuitive, so you won't have any problems if you do not have previous experience. If you are more tech-savvy, you may also use the standard cron format with the two paths, digits and asterisks typed on one line.