A cron job is a command, that runs conveniently in the background over a predefined period and it also runs a script in a 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 your file extension will be. A few examples are mailing a day-to-day report with all the end user activity on a specific website, creating a routine backup or erasing the files in a particular folder. These tasks and / or almost every other script can be executed on time periods chosen by the user - each couple of minutes, hours or days, and even once per month or maybe once per year according to the specific goal. Using cron jobs to speed up different aspects of managing a site saves a lot of time and efforts.

Cron Jobs in Hosting

The Hepsia Control Panel, which comes with all our Linux hosting, will help you to create cron jobs in a couple of easy steps even when you have never used such a feature before. Once you log in and visit the Cron Jobs area where you can create background tasks, you just have to copy and paste the server access path to PHP, Pyton or Perl depending on the script that you will execute, type the path inside of your account to the actual script file and then select how often the cron job has to be executed. For the latter, you'll be able to use the basic mode and choose the days, hours, minutes, etcetera via uncomplicated drop-down navigation, or in case you are more skilled, you can take advantage of the advanced mode and set the time interval with numbers and asterisks i.e. the standard method which you may have used with different Control Panels.

Cron Jobs in Semi-dedicated Servers

If you use a semi-dedicated server account with our company to host your websites, you're able to install cron jobs for all of them without any difficulty. This can be done in 3 uncomplicated steps inside the Hepsia Control Panel which is used to take care of the web hosting account, so you are able to create a new cron even if you lack previous experience. Within the Cron Jobs part of Hepsia, you'll discover a box where you should copy and paste the path to the system files inside your account for the programming language your script was designed in - PHP, Perl, Bash, Python, etcetera. You also have to provide the folder path to the script file which will be executed in the same box and then use our user-friendly drop-down menus to decide how often our system will execute the cron. More advanced users, can also employ the traditional method of setting up a cron job by typing digits and asterisks in specific positions as well as the aforementioned paths.