A cron job is a command, that runs automatically in the background on a pre-set period of time and it runs a script inside a web hosting account. There are no limitations in regard to what the script is - PHP, Bash, Perl, etc., what it can do, or what exactly the file extension will be. Examples are sending a regular report with all the user activity on a given site, creating a regular backup or erasing the files within a specific folder. These kinds of tasks or almost every other script can be executed on intervals specified by the user - every couple of minutes, hours or days, and even monthly as well as once a year according to the exact objective. Working with cron jobs to improve numerous aspects of managing a site saves lots of time and efforts.
Cron Jobs in Shared Web Hosting
The Hepsia Control Panel, which is featured with all our shared web hosting plans
, will allow you to set up cron jobs in a couple of basic steps even if you haven't ever used this type of option before. As soon as you sign in and go to the Cron Jobs area where you'll be able to assign background tasks, you just need to copy and paste the server access path to PHP, Perl or Python with respect to the script you will execute, type the path within your account to the specific script file and choose how often your cron job will be carried out. For the aforementioned, you'll be able to use the basic mode and pick the days, hours, minutes, etc. through uncomplicated drop-down navigation, or maybe in case you are more knowledgeable, you'll be able to use the advanced mode and specify the time period with numbers and asterisks i.e. the typical method which you might have employed with various other Control Panels.
Cron Jobs in Semi-dedicated Servers
You can set up as many cron jobs as you would like when you host your websites in a semi-dedicated server
account from us and it does not take more than a minute to do that. Unlike many other web hosting Control Panels where you have to type commands and use numbers and asterisks on a single line so that you can create a cron job, the Hepsia Control Panel contains a time and effort saving interface where you'll be able to select how often a new cron has to run by using simple drop-down menus to select the hours, minutes, weekdays, etcetera. The two things that you will need to enter manually are the folder path to the script file that should be run along with the command path to the programming language system files in the account (Perl, Python, PHP). You'll be able to copy/paste the aforementioned from the Server Information section of your website hosting Control Panel, so it won't take you more than a couple of clicks to set up a cron job within your semi-dedicated account.