1 system.admin.inc system_run_cron()

Menu callback: run cron manually.

File

core/modules/system/system.admin.inc, line 2179
Admin page callbacks for the system module.

Code

function system_run_cron() {
  // Run cron manually
  if (backdrop_cron_run()) {
    backdrop_set_message(t('Cron ran successfully.'));
  }
  else {
    backdrop_set_message(t('Cron run failed.'), 'error');
  }

  backdrop_goto('admin/reports/status');
}