On 09/01/2010 04:19 PM, Wolfgang S. Rupprecht wrote:
"Kevin J. Cummings"<cummings(a)kjchome.homeip.net> writes:
> On 08/31/2010 09:08 PM, Wolfgang S. Rupprecht wrote:
>> Why not just do reboots at 3 in the morning and it just won't matter all
>> that much. I just have a cron script in /etc/cron.daily that checks to
> No! I'm often doing something at 3AM (granted I *should* be going to
> bed before that time), and I hate it when I'm working on something the
> the system goes down for a reboot without asking first....
I've been there too. It used to just do a "shutdown -r +3 'a quick
reboot for yum'", but even with the 3 minute warning a pending reboot
was a real pain in the neck. I'd often be funbling with "ps" trying
frantically to locate the shutdown so I could kill it before it killed
me. ;-)
FWIW, a simple "shutdown -c" should cancel a running shutdown process.
--
Bob Nichols "NOSPAM" is really part of my email address.
Do NOT delete it.