Cron Jobs
Discover what cron jobs are actually, what they do and the ways to make use of them to enhance your digital life.
A cron job is a command, which functions automatically in the background over a predefined period of time and it also runs a script inside a website hosting account. There won't be any restrictions in regard to what the script is - PHP, Bash, Perl, etc., what it can do, or what exactly your file extension should be. Some examples are supplying a day-to-day report which contains all the user activity within a specific website, generating a routine backup or erasing the content in a particular folder. These tasks and / or almost every other script can be run on time intervals selected by the end user - each few minutes, hours or days, and even monthly as well as annually according to the particular intent. Making use of cron jobs to automate numerous areas of administrating a website saves a lot of time and efforts.
-
Cron Jobs in Shared Hosting
The Hepsia Control Panel, which comes with all the
shared hosting plans, allows you to set up cron jobs in a couple of simple steps even when you have not used such a feature previously. After you sign in and go to the Cron Jobs section where you are able to assign background tasks, you just need to copy and paste the server access path to Perl, Python or PHP with respect to the script that you'll execute, type the path inside of your account for the actual script file and then choose how often your cron job has to be executed. For the aforementioned, you'll be able to use the basic mode and choose the minutes, hours, days, etc. through simple drop-down options, or in case you are more experienced, you'll be able to use the advanced mode and specify the time interval with numbers and asterisks i.e. the standard method which you may have employed with different Control Panels.
-
Cron Jobs in Semi-dedicated Servers
In case you use a
semi-dedicated server account with our company to host your sites, you will be able to install cron jobs for any of them without difficulty. This can be done in three very easy steps inside the Hepsia Control Panel that is used to control the website hosting account, so you're able to create a new cron even if you don't have any previous experience. Within the Cron Jobs section of Hepsia, you will find a box where you need to copy and paste the path to the system files inside your account for the programming language your script was designed in - PHP, Python, Perl, Bash, and so on. You also need to enter 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 experienced users, can also use the traditional method of setting up a cron job by typing digits and asterisks in specific positions in addition to the previously mentioned paths.