function notifications_cron in Notifications 6.4
Same name and namespace in other branches
- 5 notifications.module \notifications_cron()
- 6 notifications.module \notifications_cron()
- 6.2 notifications.module \notifications_cron()
- 6.3 notifications.module \notifications_cron()
- 7 notifications.module \notifications_cron()
Implementation of hook_cron()
File
- ./
notifications.module, line 1375 - Notifications module
Code
function notifications_cron() {
if (variable_get('notifications_process_on_cron', TRUE)) {
if (notifications_queue()
->process_cron()) {
watchdog('notifications', 'Processed notifications in queue: @rows rows, @messages messages sent, @time milliseconds.', notifications_queue()
->process_control('results'));
}
}
}