Understand what cron jobs are, what they do and the ways to utilize them to enhance your digital life.
A cron job is a command, that works automatically in the background over a predefined period of time and it runs a script in a web hosting account. There aren't any restrictions regarding what the script can be - PHP, Bash, Perl, etc., what it can do, or what exactly your file extension will be. Some examples are mailing a regular report with all the client activity within a given website, creating a regular backup or deleting the files inside a certain folder. These types of tasks as well as any other script can be run on time periods selected by the end user - each few minutes, hours or days, and even once per month or maybe once per year based on the exact objective. Working with cron jobs to speed up various areas of administrating a site saves considerable time and efforts.
Cron Jobs in Shared Hosting
If you get any of our shared hosting
packages, you are able to set up cron jobs with a few mouse clicks via your Hepsia Control Panel even when you have never done that previously. Hepsia is really easy to use, so instead of entering numbers and asterisks on certain places, which is the typical method to set up a cron job, you'll be able to pick the days, hours or minutes a given script needs to be run using very simple drop-down menus. The latter is done from your Cron Jobs section of the Control Panel and, of course, you can use the first method too, if you are knowledgeable enough and you prefer it. In either case, you will also have to enter the path to the script that'll be executed as well as the path to the PHP, Python or Perl system files within your account. The aforementioned is included in the Control Panel and you'll be able to copy/paste it, yet if you experience any issues, you can always call your technical support team.
Cron Jobs in Semi-dedicated Servers
If you use a semi-dedicated server
account with our company to host your sites, you can set up cron jobs for any of them without difficulty. This can be done in three very simple steps in the Hepsia Control Panel that is used to take care of the web hosting account, so you'll be able to create a new cron even if you do not have any prior 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 written in - PHP, Python, Perl, Bash, etcetera. You also need to submit the folder path to the script file that will be executed in the same box then use our intuitive drop-down menus to decide how often our system will run 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 along with the previously mentioned paths.