logs

From: Adrian Inman (no_at_spam.com)
Date: 08/30/03


Date: Sat, 30 Aug 2003 13:29:01 +0100

Anyone know how to script a cron job that will email logs on a weekly basis,
but still store them.

logrotate, rather annoyingly, uses email as a last resort only (at least as
far as I can see).
I want to rotate the logs on one schedule and email them on another. ie.
email whole week's log weekly, but still keep 8 weeks on the server.

Thanks in advance.



Relevant Pages

  • Re: logs
    ... > Anyone know how to script a cron job that will email logs on a weekly basis, ... > I want to rotate the logs on one schedule and email them on another. ... man 5 crontab ...
    (comp.os.linux.networking)
  • Tracking Log AND DB Changes
    ... I need to devel a tsql script that will track changes of various SQL 2K DBs ... and Logs on a weekly basis and write this information to a statistical table. ...
    (microsoft.public.sqlserver.programming)
  • Re: QZRCSRVS job logs
    ... IPL, so even if the logs are lost, this should hardly ever be causing ... The machine is IPL on a Weekly basis just for cleanup reasons. ...
    (comp.sys.ibm.as400.misc)
  • RE: SBS 2003 Premium - Midnight Crash
    ... I hope that by deleting the logs that are ... However my server did crash at 00:30 again with no obvious reason. ... raid rebuilds itself but exchange store database was damaged. ...
    (microsoft.public.windows.server.sbs)
  • Re: Logs not flushing
    ... Definitely doing a full backup each night (flush committed logs). ... Information Store NGS Storage Group: ... Information Store NGS Storage Group: Deleting log files D:\Exchange ...
    (microsoft.public.exchange.admin)