From e8386949391d8567b66ccc060a671d1655c34438 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=85kre=20Solberg?= <andreas.solberg@uninett.no> Date: Sat, 15 Nov 2008 13:13:12 +0000 Subject: [PATCH] When sending cron mail reports, also report the URL which run. Easier for folks that get cron reports from multiple installations.... git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1014 44740490-163a-0410-bde0-09ae8108e29a --- modules/cron/www/cron.php | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/cron/www/cron.php b/modules/cron/www/cron.php index b1c56e267..6a2190cd8 100644 --- a/modules/cron/www/cron.php +++ b/modules/cron/www/cron.php @@ -34,6 +34,7 @@ if ($cronconfig->getValue('sendemail', TRUE) && count($summary) > 0) { $statustext = '<ul><li>' . join('</li><li>', $summary) . '</li></ul>'; $message = '<h1>Cron report</h1><p>Cron ran at ' . date(DATE_RFC822) . '</p>' . + '<p>URL: <tt>' . SimpleSAML_Utilities::selfURL() . '</tt></p>' . '<p>Tag: ' . $_REQUEST['tag'] . "</p>\n\n" . $statustext; $toaddress = $config->getValue('technicalcontact_email', 'na@example.org'); -- GitLab