function commerce_license_cron_queue_info in Commerce License 7
Implements hook_cron_queue_info().
Provides an expiration queue processed on cron, as a fallback if the advancedqueue module is missing.
File
- ./
commerce_license.module, line 624 - Provides a framework for selling access to local or remote resources.
Code
function commerce_license_cron_queue_info() {
if (!module_exists('advancedqueue')) {
return array(
'commerce_license_expiration' => array(
'worker callback' => 'commerce_license_expiration_queue_process',
'time' => 60,
),
);
}
}