You are here

function ultimate_cron_run_cron in Ultimate Cron 8

Same name and namespace in other branches
  1. 6 ultimate_cron.admin.inc \ultimate_cron_run_cron()
  2. 7 ultimate_cron.admin.inc \ultimate_cron_run_cron()

Menu callback: runs cron and returns to status-report page.

1 string reference to 'ultimate_cron_run_cron'
ultimate_cron_menu_alter in ./ultimate_cron.module
Implements hook_menu_alter().

File

./ultimate_cron.admin.inc, line 9

Code

function ultimate_cron_run_cron() {

  // Run the cron and return
  ultimate_cron_cron_run(TRUE);
  drupal_goto('admin/reports/status');
}