function system_run_cron

7.x system_run_cron()

Menu callback: run cron manually.

3 string references to 'system_run_cron'
drupal-6.bare.database.php in drupal/modules/simpletest/tests/upgrade/drupal-6.bare.database.php
Bare installation of Drupal 6.17, for test purposes.
drupal-6.filled.database.php in drupal/modules/simpletest/tests/upgrade/drupal-6.filled.database.php
Filled installation of Drupal 6.17, for test purposes.
system_menu in drupal/modules/system/system.module
Implements hook_menu().


drupal/modules/system/, line 2339
Admin page callbacks for the system module.


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