function _semiclean_do_your_magic in Semiclean 6
Same name and namespace in other branches
- 8 semiclean.module \_semiclean_do_your_magic()
- 7 semiclean.module \_semiclean_do_your_magic()
Menu callback to delete the cron semaphore.
1 string reference to '_semiclean_do_your_magic'
- semiclean_menu in ./
semiclean.module - Implementation of hook_menu().
File
- ./
semiclean.module, line 44 - Utility module for cleaning up after failed cron jobs.
Code
function _semiclean_do_your_magic() {
drupal_cron_cleanup();
drupal_set_message(t('Cron semaphore cleaned.'), 'status');
drupal_goto('admin/reports/status');
}