A cron job is a command, which works conveniently in the background over a pre-set period of time and it runs a script in a website hosting account. There won't be any limits in regard to what the script can be - PHP, Bash, Perl, etc., what it could do, or what exactly the file extension will be. Some examples are sending a regular report with the client activity within a given website, creating a routine backup or deleting the files inside a certain folder. These types of tasks or some other script can be executed on intervals specified by the user - every couple of minutes, hours or days, and even once a month or annually according to the particular purpose. Making use of cron jobs to improve various elements of administrating a site saves a lot of time and efforts.
Cron Jobs in Shared Hosting
The intuitive Hepsia Hosting Control Panel will allow you to set up cron jobs easily. In case you don't have prior knowledge of such matters, you will find an incredibly user-friendly interface where one can schedule the execution of your cron, choosing one or more time options - minutes, hours, days, months, or certain days of the week. The sole thing you will have to fill yourself is the actual task to be executed, which consists of the path for PHP, Perl and Python scripts as well as the path to the actual file that will be executed. More capable customers may also make use of the Advanced mode of the tool and type in by hand the execution period with numbers and asterisks. If you want additional crons than your shared hosting package allows you to have, you can upgrade this characteristic in batches of five with only a couple of mouse clicks.
Cron Jobs in Semi-dedicated Servers
If you use a semi-dedicated server account with us to host your websites, you'll be able to install cron jobs for all of them with ease. This is done in 3 very easy steps in the Hepsia Control Panel that's used to control the hosting account, so you can set up a new cron even if you lack previous experience. In the Cron Jobs section of Hepsia, you'll discover a box where you have to copy/paste the path to the system files inside your account for the programming language your script was designed in - PHP, Python, Perl, Bash, etcetera. You also have to enter the folder path to the script file that will be executed in the same box and then use our user-friendly drop-down menus to choose how often our system will execute the cron. More advanced users, can also employ the traditional method of creating a cron job by typing digits and asterisks in specific positions as well as the aforementioned paths.