Configuring Cron Job for Drupal

Add comments

Some modules require regularly scheduled actions, such as cleaning up log files. You can make these happen automatically by using cron jobs. Schedule a cron job that regularly visits the “cron page”. This regular visit will automatically tell Drupal to perform its periodic tasks, and this will help keep your system running smoothly.

If your site is http://www.example.com then the page would be found at http://www.example.com/cron.php. Here is an example of a cron job that uses wget to visit the cron page:

0 2 * * * wget --quiet http://www.example.com/cron.php

Leave a Reply

WP Theme & Icons by N.Design Studio
Entries RSS Comments RSS Log in