Are you sure files have changed? cvs outputs only files with a status to STDOUT which you are capturing. All the messages that start with "cvs update: Updating dir/subdir" are written to STDERR. I know you may not want to capture these messages, but perhaps for testing you should capture STDERR as well so you can at least ensure that the cvs is running when you run your script through cron. At least then you know your script is working. You can do this simply by changing:
open INFO, "cvs update -dP |"; #to open INFO, "cvs update -dP 2>&1|";
I tested your snippet and it seemed to work as advertised.
HTH
In reply to Re: output to a file
by pzbagel
in thread output to a file
by sachaer
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |