On Mon, Feb 01, 2010 at 12:36:45AM +0100, Ingo Schwarze wrote: > Kevin Kadow wrote on Thu, Jan 28, 2010 at 06:28:13PM -0600: > > > So maybe what we really need is just a message at boot? > > Its been 824 days since? /etc/weekly was last run > > On a laptop or on a desktop workstation, i would hardly see this, > because these usually boot straight into X. Do you read rc(8) > output on such machines? > > By the way, what you suggest is already logged - as opposed to rc(8) > output, which is not logged: > > schwa...@rhea $ ll /var/log/*.out > -rw------- 1 root wheel 0 Jan 31 01:30 /var/log/daily.out > -rw------- 1 root wheel 0 Jun 3 2009 /var/log/monthly.out > -rw------- 1 root wheel 0 Jan 31 01:30 /var/log/security.out > -rw------- 1 root wheel 0 Jan 31 23:49 /var/log/weekly.out > > See the details?
yeah, but wasn't the original issue that started this thread was that the locate database was "too old"? maybe if locate, apropos, etc would print "databse last updated 3 weeks 2 days ago"? > On that machine, i disabled monthly(8); daily(8) and security(8) > ran automatically last night; and i just ran weekly(8) manually. > > On the other hand, on a server, i do read rc(8) output. > But that's exactly where the proposed message would be useless. > > So i fear this suggestion won't help either. -- jake...@sdf.lonestar.org SDF Public Access UNIX System - http://sdf.lonestar.org