[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] RE: how many emails a day are processed



(Not top-posted because top-posting is just plain evil)

At 12:33 AM -0500 3/14/03, aljuhani typed:

> #!/bin/sh
> /usr/local/bin/sma -f /usr/local/src/sma-1.3.2/sma.conf /var/log/maillog
> /home/sites/www.AnyDomainYouWant.com/web/sma.html

   You mean:

#!/bin/sh
/usr/local/bin/sma -f /usr/local/src/sma-1.3.2/sma.conf /var/log/maillog
> /home/sites/www.AnyDomainYouWant.com/web/sma.html

   You forgot the redirect. And I think it makes more sense to copy the
sma.conf file somewhere else (a user directory, perhaps /root) and call that
one. That allows you to keep the original file untouched in the sma source
directory, and alter the copy to taste.

   BTW, am I the only old guy left who doesn't bother with the cron.*
directories, and still uses crontab for simple one-liners like this?

         Charlie