Book Image

Drupal for Education and E-Learning

Book Image

Drupal for Education and E-Learning

Overview of this book

Table of Contents (22 chapters)
Drupal for Education and E-Learning
Credits
About the Author
About the Reviewers
Preface
Index

Setting Up Cron Jobs


In Drupal, cron jobs are used to schedule and perform various maintenance tasks on your site. Within a Drupal site, cron jobs trigger several important tasks, such as building the search index for your site, and generating and updating log files. Frequently, other modules will also set up actions that are triggered by cron jobs.

The name cron job comes from the Linux utility cron, an automated scheduling program installed on Linux systems. For an overview of cron, visit http://en.wikipedia.org/wiki/Cron.

The easiest way to set up cron jobs is via the Poormanscron module, available at http://drupal.org/project/poormanscron. Download and install this module as described in Chapter 3. Once the module is installed, click the Administer | Site configuration | Poormanscron link, or navigate to admin/settings/poormanscron.

The configuration options allow you to specify how frequently, in minutes, cron should run. For most learning sites, cron should run every two to three hours...