diff --git a/CHANGELOG.txt b/CHANGELOG.txt index e603b02585afc4927b589065c9c9ef78bd437518..d4ffec79e4a58c360857713b2c963d2461978ebf 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -1,6 +1,8 @@ Drupal 7.18, xxxx-xx-xx (development version) ----------------------- +- Added link to the URL for running cron from outside the site to the Cron + settings page (UI change). - Fixed bug which prevented image styles from being reverted on PHP 5.4. - Made the default .htaccess rules protocol sensitive to improve security for sites which use HTTPS and redirect between "www" and non-"www" versions of diff --git a/modules/system/system.admin.inc b/modules/system/system.admin.inc index 061898c8557d3ec6003b044595c694621266fe79..05543be6a5fb09bf40bd75537e9ea99ab7726b42 100644 --- a/modules/system/system.admin.inc +++ b/modules/system/system.admin.inc @@ -1594,6 +1594,7 @@ function system_site_information_settings_validate($form, &$form_state) { * @ingroup forms */ function system_cron_settings() { + global $base_url; $form['description'] = array( '#markup' => '

' . t('Cron takes care of running periodic tasks like checking for updates and indexing content for search.') . '

', ); @@ -1606,6 +1607,11 @@ function system_cron_settings() { $form['status'] = array( '#markup' => $status, ); + + $form['cron_url'] = array( + '#markup' => '

' . t('To run cron from outside the site, go to !cron', array('!cron' => url($base_url . '/cron.php', array('external' => TRUE, 'query' => array('cron_key' => variable_get('cron_key', 'drupal')))))) . '

', + ); + $form['cron'] = array( '#type' => 'fieldset', );