Cron Jobs
Get more familiar with Cron Jobs - what are they, what function do they serve and how to create them.
A cron job is an automated task, which performs a particular action - usually running some script in a web hosting account. The task is scheduled, therefore it will run on a regular basis - hourly, daily, weekly etc. There are various reasons to use a cron job for your sites. For instance, you may get regular reports how many website visitors have signed up on your site, a temp folder may be emptied automatically per week or a backup copy of your content may be made in a separate folder inside your web hosting account. Employing cron jobs can help you with the management of your websites as you can have many things carried out automatically and get reports for them, in lieu of spending valuable time and efforts to do them manually.
-
Cron Jobs in Shared Website Hosting
The user-friendly Hepsia Hosting Control Panel will allow you to create cron jobs without any difficulty. If you do not have prior knowledge of these kinds of matters, you will find a really intuitive interface where you could plan the execution of your cron, picking one or several time frame possibilities - months, days, hours, minutes, or particular days of the week. The one thing you will have to fill yourself is the precise command to be executed, which consists of the path for PHP, Perl and Python scripts and the path to the actual file that is to be executed. Knowledgeable users can also take advantage of the Advanced mode of our instrument and type in manually the execution period using numbers and asterisks. If you want additional crons than your
shared website hosting plan allows you to have, you are able to upgrade this attribute in batches of five with just a couple of mouse clicks.
-
Cron Jobs in Semi-dedicated Servers
In case you use a
semi-dedicated server account with us to host your websites, you can set up cron jobs for any of them without any difficulty. This is done in 3 simple steps in the Hepsia Control Panel that is used to take care of the website hosting account, so you are able to create a new cron even if you do not have any 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 - Perl, Bash, Python, PHP, etcetera. You also need to submit 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 choose how often our system will execute 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 aforementioned paths.