[LON-CAPA-cvs] cvs: loncom /cgi loncron.pl

albertel lon-capa-cvs@mail.lon-capa.org
Tue, 11 May 2004 21:46:21 -0000


albertel		Tue May 11 17:46:21 2004 EDT

  Modified files:              
    /loncom/cgi	loncron.pl 
  Log:
  - xhmtlized
  - no longer sends email
  
  
Index: loncom/cgi/loncron.pl
diff -u loncom/cgi/loncron.pl:1.4 loncom/cgi/loncron.pl:1.5
--- loncom/cgi/loncron.pl:1.4	Sun Aug 31 23:37:27 2003
+++ loncom/cgi/loncron.pl	Tue May 11 17:46:21 2004
@@ -1,7 +1,7 @@
 #!/usr/bin/perl
 $|=1;
 # Runs loncron
-# $Id: loncron.pl,v 1.4 2003/09/01 03:37:27 albertel Exp $
+# $Id: loncron.pl,v 1.5 2004/05/11 21:46:21 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -26,13 +26,13 @@
 # http://www.lon-capa.org/
 #
 print "Content-type: text/html\n\n".
-      "<html><body bgcolor=#FFFFFF><h1>Running loncron ...</h1>".
+      "<html><body bgcolor='#FFFFFF'><h1>Running loncron ...</h1>".
       "Please be patient<p><pre>\n";
-open (DFH,"/home/httpd/perl/loncron|");
+open (DFH,"/home/httpd/perl/loncron --noemail|");
 while ($line=<DFH>) { 
    print "$line"; 
 }
 close(DFH);
-print "</pre><p><a href=/lon-status/>Status Report</a>";
-print "<p><a href=/lon-status/loncstatus.txt>LONC report</a>";
-print "<p><a href=/lon-status/londstatus.txt>LOND report</a></body></html>";
+print "</pre></p><p><a href='/lon-status/'>Status Report</a></p>";
+print "<p><a href='/lon-status/loncstatus.txt'>LONC report</a></p>";
+print "<p><a href='/lon-status/londstatus.txt'>LOND report</a></p></body></html>";