Return to loncron.pl CVS log | Up to [LON-CAPA] / loncom / cgi |
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>";