Example: Cron in Examples for Developers 3.x
Same name and namespace in other branches
- 8 cron_example/cron_example.module \cron_example
- 7 cron_example/cron_example.module \cron_example
Example using Cron API, including hook_cron() and @QueueWorker plugins
This example is part of the Examples for Developers Project which you can download and experiment with at http://drupal.org/project/examples
Parent topics
File
- modules/
cron_example/ cron_example.module, line 8 - Demonstrates use of the Cron API in Drupal - hook_cron().
Functions
Name | Location | Description |
---|---|---|
cron_example_cron |
modules/ |
Implements hook_cron(). |
Classes
Name | Location | Description |
---|---|---|
CronExampleTest |
modules/ |
Test the functionality for the Cron Example. |