A cron job is a command, that functions conveniently in the background over a pre-set period and it also runs a script inside a hosting account. There are no limitations regarding what the script is - PHP, Bash, Perl, etcetera, what it can do, or what exactly the file extension will be. A few examples are sending a regular report which contains all of the client activity within a specified site, creating a regular backup or erasing the files in a certain folder. These kinds of tasks or some other script can be executed on intervals picked by the end user - every couple of minutes, hours or days, and even once a month or perhaps once per year depending on the exact objective. Using cron jobs to improve diverse elements of managing a website saves lots of time and efforts.
Cron Jobs in Shared Web Hosting
The Hepsia Control Panel, that comes with all the shared web hosting, will help you to create cron jobs in a couple of easy steps even if you have not employed such a feature previously. Once you sign in and proceed to the Cron Jobs area where you are able to 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'll execute, type the path within your account for the actual script file and select how often your cron job will be executed. For the aforementioned, you'll be able to use the basic mode and select the minutes, hours, days, etc. via uncomplicated drop-down options, or if you are more knowledgeable, you can use the advanced mode and specify the time interval with numbers and asterisks i.e. the usual method that you might have employed with other Control Panels.
Cron Jobs in Semi-dedicated Servers
If you use a semi-dedicated server account with us to host your websites, you will be able to create cron jobs for all of them without any difficulty. This can be done in 3 simple steps inside the Hepsia Control Panel that is used to take care of the website hosting account, so you will be able to create a new cron even when you lack previous experience. Inside the Cron Jobs area of Hepsia, you'll discover a box where you need to copy and paste the path to the system files in your account for the programming language your script was designed in - PHP, Perl, Bash, Python, and so on. You also have to provide the folder path to the script file that'll be executed in the same box and then use our user-friendly drop-down menus to select how often our system will execute the cron. More experienced users, can also take advantage of the traditional method of setting up a cron job by typing digits and asterisks in specific positions as well as the aforementioned paths.