If you are jonesing for automatically-generated chatter,
you can try running this via cron:

% cat /cron/$user/cron
X * * * * yoursys sourcesmail
% 
(where X is your favorite random number between 0 and 59)

% cat $home/bin/rc/sourcesmail
#!/bin/rc

d=`{date -n}
sleep 1
if(! test -f $home/lib/sourcesmailtime)
        touch $home/lib/sourcesmailtime

9fs sources
newer=`{
        ls -rt /n/sources/extra/changes/*/* $home/lib/sourcesmailtime |
        sed -n '/sourcesmailtime/,$p' | grep -v sourcesmailtime
}
if(~ $#newer 0)
        exit 0
for(i in $newer)
        mail -s $i `{cat /dev/user} <$i
touch -t $d $home/lib/sourcesmailtime
% 

Russ

Reply via email to