diff options
Diffstat (limited to 'cron.php')
-rw-r--r-- | cron.php | 22 |
1 files changed, 1 insertions, 21 deletions
@@ -8,24 +8,4 @@ include_once './includes/bootstrap.inc'; drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL); - -// If not in 'safe mode', increase the maximum execution time: -if (!ini_get('safe_mode')) { - set_time_limit(240); -} - -// Check if the last cron run completed -if (variable_get('cron_busy', FALSE)) { - watchdog('cron', t('Last cron run did not complete.'), WATCHDOG_WARNING); -} -else { - variable_set('cron_busy', TRUE); -} - -// Iterate through the modules calling their cron handlers (if any): -module_invoke_all('cron'); - -// Clean up -variable_set('cron_busy', FALSE); -variable_set('cron_last', time()); -watchdog('cron', t('Cron run completed')); +drupal_cron_run(); |