function common_test_cron

Implements hook_cron().

System module should handle if a module does not catch an exception and keep cron going.

See also

common_test_cron_helper()

File

core/modules/system/tests/modules/common_test/common_test.module, line 189

Code

function common_test_cron() {
  throw new Exception('Uncaught exception');
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.