Cron Jobs
Get more familiar with Cron Jobs - what are they, what role do they serve and the ways to assign them.
A cron job is a command, which functions conveniently in the background over a pre-set period of time and it executes a script within a website hosting account. There aren't any limitations in regard to what the script can be - PHP, Bash, Perl, etcetera, what it could do, or what exactly your file extension will be. Some examples are mailing a daily report which contains all the client activity on a specified site, creating a routine backup or erasing the files inside a particular folder. These kinds of tasks and / or almost every other script can be executed on time periods picked by the user - each couple of minutes, hours or days, and even once per month as well as once per year based on the specific goal. Working with cron jobs to improve different elements of administrating a site saves considerable time and efforts.
-
Cron Jobs in Shared Website Hosting
If you get any of our
shared website hosting plans, you are able to create cron jobs with a couple of mouse clicks using your Hepsia Control Panel even if you have never done that previously. Hepsia is really easy to use, so as opposed to entering numbers and asterisks on particular places, which is the usual technique to assign a cron job, you will be able to choose the minutes, hours or days a script has to be executed using simple drop-down menus. The latter is done from the Cron Jobs section of the Control Panel and, of course, you can use the first method as well, if you are experienced enough and you prefer it. In both cases, you'll need to type in the path to the script that'll be executed along with the path to the PHP, Python or Perl system files in your account. The aforementioned is included in the Control Panel and you can copy/paste it, still if you experience any difficulties, you can call your support team.
-
Cron Jobs in Semi-dedicated Servers
If you use a
semi-dedicated server account with us to host your sites, you can set up cron jobs for any of them without any difficulty. This can be done in 3 very simple steps in the Hepsia Control Panel which is used to control the website hosting account, so you're able to set up a new cron even if you lack previous experience. Inside 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 - Perl, Bash, Python, PHP, etcetera. You also need to provide 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 execute the cron. More advanced users, can also take advantage of the traditional method of setting up a cron job by typing digits and asterisks in specific positions along with the previously mentioned paths.