On 11/22/07, Alexandros G. Fragkiadakis <[EMAIL PROTECTED]> wrote: > Thanks, i'll check it out. > The reason i want to write logs in a mysql database is that i want to > monitor loggings. If a user hasn't logged in for a long time i'll delete > his account.
then it's far simpler to write something in bash/python/perl and run it daily through cron. For example a bash-script of just a few lines can work like this: grep the logs for login events and for each one of them 'touch' a file named by the login-name. Then call 'find -mtime' to find what user have too much time to login ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Courier-imap mailing list Courier-imap@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap