| 3 |
|
print "Content-type: text/html\n\n"; |
| 4 |
|
|
| 5 |
|
my($today) = `date \"+%Y/%m/%d\"`; |
| 6 |
+ |
my($cvs) = "/home/cut/tdb1/bin/cvs"; |
| 7 |
|
my($cvs2clpath) = "/home/cut/tdb1/bin/cvs2cl"; |
| 8 |
|
my($cvsroot) = "/usr/local/proj/co600_10/cvs"; |
| 9 |
|
my($cvs2clargs) = "--stdout -r -b -t -w -U $cvsroot/CVSROOT/users -l \"-d'\>$today'\" -g \"-d$cvsroot\" -g \"-Q\""; |
| 10 |
< |
my($cmd) = "cd /home/cut/tdb1/cvsscripttemp && $cvs2clpath $cvs2clargs *"; |
| 10 |
> |
my($cmd) = "cd /home/cut/tdb1/cvsscripttemp && $cvs -d $cvsroot -Q update -d && $cvs2clpath $cvs2clargs *"; |
| 11 |
|
|
| 12 |
< |
my(@lines) = `$cmd`; |
| 12 |
> |
my(@lines) = `$cmd 2>&1`; |
| 13 |
|
|
| 14 |
|
print <<"END"; |
| 15 |
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
| 17 |
|
<html> |
| 18 |
|
|
| 19 |
|
<head> |
| 20 |
< |
<title>The i-scream Project Logfile Tailer</title> |
| 20 |
> |
<title>The i-scream Project Daily Commit Log</title> |
| 21 |
|
<meta name="description" content="The i-scream Project is a central |
| 22 |
|
monitoring system for Unix, Linux and NT servers."> |
| 23 |
|
<meta name="keywords" content="i-scream, project, central monitoring |
| 32 |
|
|
| 33 |
|
<h3>Today's i-scream CVS commits</h3> |
| 34 |
|
|
| 35 |
< |
<a href="cvsweb.cgi">Browse i-scream CVS repository</a> |
| 35 |
> |
<a href="viewcvs.cgi">Browse i-scream CVS repository</a> |
| 36 |
|
|
| 37 |
|
<pre> |
| 38 |
|
END |