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