Issue #1117780 by naxoc, amontero, ogi: Display cron url in admin/config/system/cron page.

8.0.x
webchick 2012-11-14 02:29:00 -08:00
parent 09c541a220
commit 085178220d
1 changed files with 4 additions and 0 deletions

View File

@ -1512,6 +1512,10 @@ function system_cron_settings($form, &$form_state) {
'#markup' => $status,
);
$form['cron_url'] = array(
'#markup' => '<p>' . t('To run cron from outside the site, go to <a href="!cron">!cron</a>', array('!cron' => url('cron/' . state()->get('system.cron_key'), array('absolute' => TRUE)))) . '</p>',
);
$form['cron'] = array(
'#type' => 'fieldset',
);