Example: Cron in Examples for Developers 8
Same name and namespace in other branches
- 7 cron_example/cron_example.module \cron_example
- 3.x modules/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
- cron_example/
cron_example.module, line 8 - Demonstrates use of the Cron API in Drupal - hook_cron().
Functions
Name | Location | Description |
---|---|---|
cron_example_cron |
cron_example/ |
Implements hook_cron(). |
Classes
Name | Location | Description |
---|---|---|
CronExampleTest |
cron_example/ |
Test the functionality for the Cron Example. |