[LON-CAPA-cvs] cvs: loncom / loncron

www lon-capa-cvs@mail.lon-capa.org
Sun, 02 Jan 2005 18:57:07 -0000


www		Sun Jan  2 13:57:07 2005 EDT

  Modified files:              
    /loncom	loncron 
  Log:
  Increase threshold for network admin emails - with more machines in the
  cluster, lots more connection warnings, etc.
  
  
Index: loncom/loncron
diff -u loncom/loncron:1.53 loncom/loncron:1.54
--- loncom/loncron:1.53	Wed Jun  9 09:30:41 2004
+++ loncom/loncron	Sun Jan  2 13:57:06 2005
@@ -2,7 +2,7 @@
 
 # Housekeeping program, started by cron, loncontrol and loncron.pl
 #
-# $Id: loncron,v 1.53 2004/06/09 13:30:41 albertel Exp $
+# $Id: loncron,v 1.54 2005/01/02 18:57:06 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -554,7 +554,7 @@
 sub send_mail {
     print "sending mail\n";
     my $emailto="$perlvar{'lonAdmEMail'}";
-    if ($totalcount>1000) {
+    if ($totalcount>2500) {
 	$emailto.=",$perlvar{'lonSysEMail'}";
     }
     my $subj="LON: $perlvar{'lonHostID'} E:$errors W:$warnings N:$notices";