system_perform_run_cron

5.x system.module system_perform_run_cron()
4.x system.module system_perform_run_cron()

Called from menu, will run hook_cron() for all modules.

File

modules/system/system.module, line 1379

Code

function system_perform_run_cron() {
  invoke_hook("cron");
  fp_add_message(t("Cron run completed successfully."));
  variable_set("cron_last_run", time());
  fp_goto("admin-tools/admin");
}