File:  [LON-CAPA] / loncom / cgi / loncron.pl
Revision 1.3: download - view: text, annotated - select for diffs
Mon Nov 26 22:20:26 2001 UTC (22 years, 5 months ago) by www
Branches: MAIN
CVS tags: version_1_0_3, version_1_0_2, version_1_0_1, version_1_0_0, version_0_99_5, version_0_99_4, version_0_99_3, version_0_99_2, version_0_99_1, version_0_99_0, version_0_6_2, version_0_6, version_0_5_1, version_0_5, version_0_4, stable_2002_spring, stable_2002_july, stable_2002_april, conference_2003, STABLE, HEAD
lonc also does reporting

#!/usr/bin/perl
$|=1;
# The LearningOnline Network with CAPA
# Running loncron
# 09/06/01 Gerd Kortemeyer
print "Content-type: text/html\n\n".
      "<html><body bgcolor=#FFFFFF><h1>Running loncron ...</h1>".
      "Please be patient<p><pre>\n";
open (DFH,"/home/httpd/perl/loncron|");
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>";

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>