[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] Sending email to site admins only?
- Subject: [cobalt-users] Sending email to site admins only?
- From: Carrie Bartkowiak <ravencarrie@xxxxxxxx>
- Date: Tue Sep 4 18:20:02 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
There's been a lot of talk about sending mail to *all* users on the
server; this is not what I want to do.
I need to know how the machine determines who the site administrator
is for a domain.
What I'm wanting to do is have the server go through the logs once a
day and email all of the error lines for that domain to the domain's
site administrator. I've got some site admins who don't bother to
look at their copy of the logs, and I'm getting pretty fed up with
having constant entries being logged because an image can't be found.
It's really filling up the logs before they get chopped up each
night. I want to make the site admins aware of this noise they're
throwing into the logs so they can fix it. This would be a cron job,
of course.
I do have a PHP script written up that greps the error log for a
certain domain and returns it to a browser, but sending email to the
site admin is more of an 'in your face' solution that they can't
ignore (or just neglect to check).
Any ideas?
--
CarrieB