For Programmers: Free Programming Magazines  


Home > Archive > PHP Mirrors > April 2007 > cvs: php-master-web /scripts mirror-test









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author cvs: php-master-web /scripts mirror-test
Hannes Magnusson

2007-04-14, 6:59 pm

bjori Sat Apr 14 13:09:04 2007 UTC

Modified files:
/php-master-web/scripts mirror-test
Log:
Send myself debug mails on the current status


http://cvs.php.net/viewvc.cgi/php-m...5&diff_format=u
Index: php-master-web/scripts/mirror-test
diff -u php-master-web/scripts/mirror-test:1.94 php-master-web/scripts/mirror-test:1.95
--- php-master-web/scripts/mirror-test:1.94 Sat Apr 14 12:58:32 2007
+++ php-master-web/scripts/mirror-test Sat Apr 14 13:09:04 2007
@@ -316,3 +316,13 @@
}

}
+
+// Send a debug mail at midnight with current details
+if (intval(date("H")) == 0) {
+ @mail(
+ "bjori@php.net",
+ "Mirror site updates done",
+ "$mirrorsupdated mirror sites properly updated (out of " . count($hosts) . ")\n\nProblematic mirrors:\n\n" . $problems
+ );
+}
+
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com