Re: [newbie] Gnome Search
On Fri, 2003-01-17 at 07:57, RichardA wrote: > On Thursday 16 January 2003 02:04, Stephen Kuhn wrote: > > > Somebody correct me if I'm all wet, but I understood that the logrotate > would > > > run at the next bootup if it was shut down during it's scheduled time. How > do > > > we findout? > > > > > > > > It SHOULD run at "next bootup" - but you never really know - unless you > > try. > > > > Aren't we going in circles here? If logrotate runs at next boot, it's because > anacron runs it. If there is no anacron by default in 9.0, then in one > particular set of circumstances, the computer will eventually fail to boot. > > Someone please tell me I'm wrong (and why). > > Richard Maybe I came late in the thread, but you SHOULD ALWAYS have anacron installed - it's a must have. ...and you're not wrong...just partly right (g) -- Fri Jan 17 08:20:01 EST 2003 8:20am up 18:03, 4 users, load average: 0.13, 0.15, 0.15 -- |____ | kuhn media australia| | / ,, /| |'-. | http://kma.0catch.com | | .\__/ || | | |=| | _ / `._ \|_|_.-' | stephen kuhn| | | / \__.`=._) (_ | email: [EMAIL PROTECTED] | | |/ ._/ |"| | email: [EMAIL PROTECTED]| | |'. `\ | | |icq: 5483808 | | ;"""/ / | | | | | smk ) /_/| |.---.| | mobile: 0410-728-389| | ' `-`' " " | Berkeley, New South Wales, AU | -- linux user:267497 * RH 8.0 * PC/Mac/Linux/Networking/Consulting -- The bogosity meter just pegged. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Gnome Search
On Thursday 16 January 2003 02:04, Stephen Kuhn wrote: > > Somebody correct me if I'm all wet, but I understood that the logrotate would > > run at the next bootup if it was shut down during it's scheduled time. How do > > we findout? > > > > It SHOULD run at "next bootup" - but you never really know - unless you > try. > Aren't we going in circles here? If logrotate runs at next boot, it's because anacron runs it. If there is no anacron by default in 9.0, then in one particular set of circumstances, the computer will eventually fail to boot. Someone please tell me I'm wrong (and why). Richard Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Gnome Search
On Thursday 16 Jan 2003 1:54 am, Dennis Myers wrote: > On Wednesday 15 January 2003 05:15 pm, RichardA wrote: > > On Wednesday 15 January 2003 03:43, Michael Adams wrote: > > > On Wed, 15 Jan 2003 09:25, RichardA wrote: > > > > On Tuesday 14 January 2003 08:53, Tom Brinkman wrote: > > > > [snip] > > > > > > > > > or by anacron when you > > > > > boot (if that's installed, I don't believe it is by default). > > > > > > > > If anacron isn't installed by default, what happens to cron jobs like > > > > logrotate if the machine is never on at that time? > > > > > > > > Richard > > > > > > Logrotate won't get run and the log files will just keep growing. > > > -- > > > Michael > > > > # service -s | grep anacron > > # anacron is running... > > > > Well I'm ok on 8.2, but if someone installs 9.0: > > > > - where space is tight > > - on one partition > > - only boots during the day > > > > it's guaranteed one day not to boot? > > > > Richard > > Somebody correct me if I'm all wet, but I understood that the logrotate > would run at the next bootup if it was shut down during it's scheduled > time. How do we findout? Cron assumes the computer is powered on all the time. It does not check for jobs which have not been run. There is another app called anacron to check up on jobs cron has missed. urpmi anacron Anacron was installed by default in 8.2 but was taken out in 9.0 because people whined about their hard drive going crazy 5 minutes after they powered on their computer. derek -- -- www.jennings.homelinux.net Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Gnome Search
On Wednesday 15 January 2003 03:43, Michael Adams wrote: > On Wed, 15 Jan 2003 09:25, RichardA wrote: > > On Tuesday 14 January 2003 08:53, Tom Brinkman wrote: > > [snip] > > > > > or by anacron when you > > > boot (if that's installed, I don't believe it is by default). > > > > If anacron isn't installed by default, what happens to cron jobs like > > logrotate if the machine is never on at that time? > > > > Richard > > Logrotate won't get run and the log files will just keep growing. > -- > Michael > # service -s | grep anacron # anacron is running... Well I'm ok on 8.2, but if someone installs 9.0: - where space is tight - on one partition - only boots during the day it's guaranteed one day not to boot? Richard Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Gnome Search
On Wed, 15 Jan 2003 09:25, RichardA wrote: > On Tuesday 14 January 2003 08:53, Tom Brinkman wrote: > [snip] > > > or by anacron when you > > boot (if that's installed, I don't believe it is by default). > > If anacron isn't installed by default, what happens to cron jobs like > logrotate if the machine is never on at that time? > > Richard Logrotate won't get run and the log files will just keep growing. -- Michael Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Gnome Search
On Tuesday 14 January 2003 08:53, Tom Brinkman wrote: [snip] > or by anacron when you > boot (if that's installed, I don't believe it is by default). If anacron isn't installed by default, what happens to cron jobs like logrotate if the machine is never on at that time? Richard Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Gnome Search
On Tuesday January 14 2003 07:56 am, Rich wrote: > I've used the Gnome Search tool since Mandrake 8.0 but have run > into a problem since installing version 9.0. It ran OK for awhile, > but now an error message pops up whenever I run a search that the > slocate.db database is more than 8 days old. I thought that this > database is supposed to update every time the system boots and I've > been running 9.0 since a month after it came out. What's going on? Misguided (IMO) user complaints of 'HDD trashing' convinced the developers to extend the update period. It was done nightly in =<8.2, either by cron if your machine runs over night or by anacron when you boot (if that's installed, I don't believe it is by default). Easiest thing to do is su to root in a term and type 'updatedb', or you could edit cron*, and change the behavior there. IIRC, *slocate.cron is in /etc/cron.weekly. Just move it to /cron.daily If you don't run over night, you'll need to install the anacron rpm to update on boot. -- Tom Brinkman Corpus Christi, Texas Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[newbie] Gnome Search
I've used the Gnome Search tool since Mandrake 8.0 but have run into a problem since installing version 9.0. It ran OK for awhile, but now an error message pops up whenever I run a search that the slocate.db database is more than 8 days old. I thought that this database is supposed to update every time the system boots and I've been running 9.0 since a month after it came out. What's going on? -- [EMAIL PROTECTED] Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com