You are here

function elysia_cron_execute_page in Elysia Cron 6.2

Same name and namespace in other branches
  1. 5.2 elysia_cron.admin.inc \elysia_cron_execute_page()
  2. 5 elysia_cron.admin.inc \elysia_cron_execute_page()
  3. 6 elysia_cron.admin.inc \elysia_cron_execute_page()
  4. 7.2 elysia_cron.admin.inc \elysia_cron_execute_page()
  5. 7 elysia_cron.admin.inc \elysia_cron_execute_page()
1 string reference to 'elysia_cron_execute_page'
elysia_cron_menu in ./elysia_cron.module

File

./elysia_cron.admin.inc, line 741

Code

function elysia_cron_execute_page($job = false) {
  if (!$job) {
    elysia_cron_error('No job specified');
    drupal_goto(_dcf_internal_path('admin/config/system/cron'));
  }
  elysia_cron_run_job($job, true, true, false);

  // Run also if disabled or not ready (but not if it's already running)
  drupal_goto(_dcf_internal_path('admin/config/system/cron'));
}