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

raeburn raeburn@source.lon-capa.org
Sat, 21 Aug 2010 22:23:05 -0000


raeburn		Sat Aug 21 22:23:05 2010 EDT

  Modified files:              
    /loncom	loncron 
  Log:
  - Skip population of loncaparevs.tab and serverhomeIDs.tab when starting loncontrol
    to reduce delay. 
  
  
Index: loncom/loncron
diff -u loncom/loncron:1.86 loncom/loncron:1.87
--- loncom/loncron:1.86	Tue Aug 17 22:22:00 2010
+++ loncom/loncron	Sat Aug 21 22:23:05 2010
@@ -2,7 +2,7 @@
 
 # Housekeeping program, started by cron, loncontrol and loncron.pl
 #
-# $Id: loncron,v 1.86 2010/08/17 22:22:00 raeburn Exp $
+# $Id: loncron,v 1.87 2010/08/21 22:23:05 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -866,12 +866,10 @@
 	&check_delayed_msg($fh);
 	&finish_logging($fh);
 	&log_simplestatus();
-	
-	if ($totalcount>200 && !$noemail) { &send_mail(); }
-    }
-    if (!$justcheckconnections && !$justreload) {
         &write_loncaparevs();
         &write_serverhomeIDs();
+	
+	if ($totalcount>200 && !$noemail) { &send_mail(); }
     }
 }