--- loncom/loncron 2010/08/17 22:22:00 1.86 +++ loncom/loncron 2010/08/21 22:23:05 1.87 @@ -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 @@ sub main () { &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(); } } }