function hook_cron

This hook is called every time the system cron is run.

Modules should place code here which is meant to be run on a schedule.

11 functions implement hook_cron()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

admin_cron in modules/admin/admin.module
hook_cron
advise_cron in modules/advise/advise.module
hook_cron
batch_cron in modules/batch/batch.module
Implementation of hook_cron
calendar_cron in modules/calendar/calendar.module
Implements hook_cron
comments_cron in modules/comments/comments.module
hook_cron

... See full list

File

includes/hook.api.php, line 406
Lists all available hooks within FlightPath's core code.

Code

function hook_cron() {
  // Example:  check for students who have dropped, and email their advisors.
}