Egor Tur said: > Hi folk. > I want that `last' does login on year but not month . > I think that I need rewrite /etc/logrotate.conf. But what have I write in > this file. `man' told me about only monthly, weekly & daily. > Thanx.
your best bet may be to make a custom logrotate.conf file which rotates daily, but put a manual entry in cron which runs daily and checks to see if it is Jan 1, if so, run the logrotate with the custom config file. nate -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]