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 (22 years, 9 months ago) by www
Branches: MAIN
CVS tags: stable_2001_fall, HEAD
Able to start loncron through web server

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

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