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

    1: #!/usr/bin/perl
    2: $|=1;
    3: # The LearningOnline Network with CAPA
    4: # Running loncron
    5: # 09/06/01 Gerd Kortemeyer
    6: print "Content-type: text/html\n\n".
    7:       "<html><body bgcolor=#FFFFFF><h1>Running loncron ...</h1>".
    8:       "Please be patient<p><pre>\n";
    9: open (DFH,"/home/httpd/perl/loncron|");
   10: while ($line=<DFH>) { 
   11:    print "$line"; 
   12: }
   13: close(DFH);
   14: print "</pre><p><a href=/lon-status/>Status Report</a>";
   15: print "<p><a href=/lon-status/loncstatus.txt>LONC report</a>";
   16: print "<p><a href=/lon-status/londstatus.txt>LOND report</a></body></html>";

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