diff options
-rw-r--r-- | cron.php | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -10,4 +10,7 @@ include_once './includes/bootstrap.inc'; drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL); if (isset($_GET['cron_key']) && variable_get('cron_key', 'drupal') == $_GET['cron_key']) { drupal_cron_run(); -}
\ No newline at end of file +} +else { + watchdog('cron', 'Cron did not run because an invalid key used.', array(), WATCHDOG_NOTICE); +} |