Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.
Hi, I'm fairly new to CVSNT. Installation went relatively smoothly and most everyone is happy. Now, people are asking if they can get email notification when a file is committed. I know I have to edit the /CVSROOT/loginfo file; no problem. I know there are several perl scripts out there to do just this job, but, I need to make it work using only DOS batch files and command line utilities. I've downloaded and installed BLAT <http://gepasi.dbs.aber.ac.uk/softw/Blat.html> to handle sending the email itself. Blat can take standard input by specifying the "-" parameter immediately after the command name. I've downloaded and installed David Tribble's cat for DOS <http://david.tribble.com/programs.htm> I created the following "notify_users.bat" file: blat - -to weidl at intersites.com -f cvs at intersites.com -s "CVS Test" for testing. My loginfo has the following entry: DEFAULT cat | notify_users.bat Whenever I commit a file, I receive an email, but the body is always blank. It would seem to me that the standard input isn't directed to Blat (or my batch file) properly. If I run the batch file from a command line (c:>cat sometempfile.txt | notify_users), it works correctly, that is, I receive the contents of sometempfile.txt in an email. I feel like I must be missing something simple, but I've been trying all kinds of alterations with no real difference in the results. Any help appreciated. Eric _______________________________________________ Cvsnt mailing list Cvsnt at cvsnt.org http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt https://www.march-hare.com/cvspro/en.asp#downcvs