--- loncom/loncron 2013/02/02 14:42:01 1.97 +++ loncom/loncron 2014/03/17 14:47:38 1.100 @@ -2,7 +2,7 @@ # Housekeeping program, started by cron, loncontrol and loncron.pl # -# $Id: loncron,v 1.97 2013/02/02 14:42:01 raeburn Exp $ +# $Id: loncron,v 1.100 2014/03/17 14:47:38 bisitz Exp $ # # Copyright Michigan State University Board of Trustees # @@ -271,7 +271,7 @@ sub log_machine_info { &log($fh,"
"); - &get_distro($perlvar{'lonDaemons'},$fh); + &log($fh,&encode_entities(&LONCAPA::distro(),'<>&"')); &log($fh,""); &errout($fh); @@ -526,7 +526,7 @@ sub check_httpd_logs { sub rotate_lonnet_logs { my ($fh)=@_; &log($fh,'
'); - print "checking logs\n"; + print "Checking logs.\n"; if (-e "$perlvar{'lonDaemons'}/logs/lonnet.log"){ open (DFH,"tail -n50 $perlvar{'lonDaemons'}/logs/lonnet.log|"); while (my $line=) { @@ -570,7 +570,7 @@ sub rotate_other_logs { sub test_connections { my ($fh)=@_; &log($fh,' Connections
'); - print "testing connections\n"; + print "Testing connections.\n"; &log($fh,"