View Single Post
  #3  
Old 14th May 2009, 11:16
martin1977 martin1977 is offline
Junior Member
 
Join Date: May 2009
Posts: 20
Thanks: 0
Thanked 3 Times in 3 Posts
Default

How would you do that?
My auth.log is spammed by the server.sh and run-getmail.sh scripts.
Every minute a new entry is done:
Code:
May 14 09:59:01 h1053099 CRON[10646]: pam_unix(cron:session): session opened for user root by (uid=0)
May 14 09:59:01 h1053099 CRON[10646]: pam_unix(cron:session): session closed for user root
May 14 10:00:01 h1053099 CRON[10654]: pam_unix(cron:session): session opened for user root by (uid=0)
May 14 10:00:01 h1053099 CRON[10659]: pam_unix(cron:session): session opened for user getmail by (uid=0)
May 14 10:00:01 h1053099 CRON[10659]: pam_unix(cron:session): session closed for user getmail
CRONTABs:
Code:
* * * * * /usr/local/ispconfig/server/server.sh > /dev/null 2>> /var/log/ispconfig/cron.log
and
*/5 * * * * /usr/local/ispconfig/server/scripts/run-getmail.sh > /dev/null 2>> /var/log/ispconfig/cron.log

It is a bit unfortune to log these repeating messages in auth.log. Is there a possibility to supress them or log into a different file?
I am running Debain Lenny and cannot use the "-" trick that works with Suse in the crontab.

Best regards,
Martin

Last edited by martin1977; 14th May 2009 at 11:23.
Reply With Quote