File:  [LON-CAPA] / loncom / cgi / loncron.pl
Revision 1.1: download - view: text, annotated - select for diffs
Thu Sep 6 19:28:06 2001 UTC (23 years, 2 months ago) by www
Branches: MAIN
CVS tags: stable_2001_fall, HEAD
Able to start loncron through web server

#!/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></body></html>";

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