LOGIN

Spring Special

Buy ONE - get TWO accounts! Completely independent and both with our amazing features. Take the chance to boost your website ideas now!

FREE Module Install

With TMDhosting you get not only a FREE script installation but also FREE module installations to them!

Drupal Tutorial - Setting up Drupal automated tasks

 

 

Setting up automation with Drupal is quite important, in order to keep your software and its plugins up to date. It is utilized using a crontab job. Generally, cron is an UNIX utility for scheduling jobs to be executed sometime in the future. A cron is normally used to schedule a job that is executed periodically - for example, to send out a notice every morning or, in your case, to check for updates. It is also a daemon process, meaning that it runs continuously, waiting for specific events to occur and the time, a certain job to be execute, to come.

 

In order to enable Drupal's automation, you should set a crontab job, which will "call" a certain file, which itself will "tell" your Drupal installation to perform some periodic tasks. This is highly recommended and almost obligatory, in order to make sure that your system is running smoothly.

 

The advised by Drupal crontab job syntax is:

 

45 * * * * /usr/bin/lynx -source http://example.com/cron.php

 

or

 

45 * * * * /usr/bin/wget -O - -q http://example.com/cron.php

 

Note that you will have to substitute "example.com" with the location, where your Drupal is installed. If you access it through "mywebsite.com", just substitute "example.com" with "mywebsite.com", but if you access it through "mywebsite.com/something", just substitute "example.com" with "mywebsite.com/something".

 

Once you prepare the crontab job to match your domain name, you should login in your hosting cPanel.

 

There you should find the "Cron jobs" icon and click on it.

 

Drupal Tutorial

 

 

 

 

 

 

 

 

 

When asked for the type of editing, you will have to choose "Advanced (Unix Style)":

 

 

 

 

 

 

 

 

Clicking on it will take you to the following screen:

 

 

 

 

where you will have to fill the boxes as shown in the screenshot, by simply rewriting the crontab job advised above. When you are done, simply click the "Commit changes" button:

 

 

 

 

 

and you are done. Drupal's automation should have been properly set.

 

 

 

 

 
 

 

Drupal Hosting

All-inclusive Drupal package, hosted on fast and secured servers and amazing customer support for your every question!

view more

 

Drupal Modules

Drupal modules will allow you to make your website more functional.

view more

 

Drupal Support

We have taken the time to provide extensive training to our Support Team. Contact them in any case of technical trouble or inquiry you may have.

get free support

 

Drupal FAQ

In our knowledge base you can find solutions for common issues with different applications and answers to frequently asked questions.

visit faq section

 

Amazing package

800GB Disc Space
8000GB Traffic
FREE domain name
UNLIMITED mail accounts
24x7 Support
99.9% Uptime
IMMEDIATE activation
Cpanel
Fantastico
Mambo and Joomla
Tutorials
Knowledge base
Livechat
Top security level

Copyright 2008 TMDHosting.com : Legal : Web Hosting Forum : Web Hosting FAQ : Links : Top-Web-Solutions.com : Tutorials
The Modern Web Hosting Services : Mambo Hosting : Joomla Hosting : WordPress Hosting : Drupal Hosting : phpBB Hosting : Joomla 1.5 Hosting : SugarCRM Hosting : osCommerce Hosting : Coppermine Hosting : e107 Hosting : vTiger Hosting : MediaWiki Hosting : vBulletin Hosting : CScart Hosting : Moodle Hosting : SMF Hosting : PHP-Nuke Hosting : vBadvanced Hosting : Gallery2 Hosting : IPB Hosting : TYPO3 Hosting : XOOPS Hosting : eGroupware Hosting :Open Source Hosting