Re: way to help: laptops and weekly

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jan Stary
Date: Monday, January 25, 2010 - 3:25 am

On Jan 24 13:32:43, joshua stein wrote:

So do you mean laptops or desktops?  There's a difference;
namely, laptops run on batteries, and laptops move around.

On my desktop, which is usually down at the daily(8) time,
I just run 'sh /etc/daily ; shutdown -h -p now' at the end
of the day. On a Sunday, I also put /etc/weekly in there.

On my laptop, I do the same, _except_ sometimes shuting down
a laptop can mean I have 3 minutes of battery remaining, in
which case I obviously do not run daily.

Also, am I in my home network where there is nfs:/backup to mount?
Run the backups then (via daily.local. Otherwise, don't.

The other possibilities I thought of (rc.shutdown, @reboot,
other cron job) collide with one of the above. daily(8)
puts quite a load on (some of) my systems, and ultimately,
I want to decide myself, at the given moment, whether to
run it or not.

Do I need to shutdown quickly? Do I need to boot up quickly
to a not-much-loaded system? Do I walk away for a cup of
coffee-that-lasts-exactly-`time sh/etc/daily` anyway?
(That would be an example of daily(8) being run at a time
completely unrelated to booting, halting, or any other time.
How do I say that in cron?)

So I do it manualy, because having 'sh /etc/daily' somewhere
at the back of my head and typing the 13 chars is less of
a burden than introducing things into shutdown/boot/cron
in a way I know of.
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
way to help: laptops and weekly, Ted Unangst, (Sun Jan 24, 12:48 pm)
Re: way to help: laptops and weekly, Antoine Jacoutot, (Sun Jan 24, 1:00 pm)
Re: way to help: laptops and weekly, Matthew Szudzik, (Sun Jan 24, 1:12 pm)
Re: way to help: laptops and weekly, Ted Unangst, (Sun Jan 24, 1:15 pm)
Re: way to help: laptops and weekly, joshua stein, (Sun Jan 24, 1:32 pm)
Re: way to help: laptops and weekly, Ben Calvert, (Sun Jan 24, 1:55 pm)
Re: way to help: laptops and weekly, Chris Bennett, (Sun Jan 24, 1:57 pm)
Re: way to help: laptops and weekly, nixlists, (Sun Jan 24, 3:14 pm)
Re: way to help: laptops and weekly, Steve Shockley, (Sun Jan 24, 5:42 pm)
Re: way to help: laptops and weekly, Joakim Aronius, (Mon Jan 25, 2:30 am)
Re: way to help: laptops and weekly, Jan Stary, (Mon Jan 25, 3:25 am)
Re: way to help: laptops and weekly, Lars Nooden, (Mon Jan 25, 6:46 am)
Re: way to help: laptops and weekly, Jacob Meuser, (Sun Jan 31, 10:55 pm)
Re: way to help: laptops and weekly, Ingo Schwarze, (Mon Feb 1, 5:08 pm)
Re: way to help: laptops and weekly, Daniele Pilenga, (Tue Feb 2, 1:34 am)
Re: way to help: laptops and weekly, David Coppa, (Tue Feb 2, 8:19 am)
Re: way to help: laptops and weekly, Ingo Schwarze, (Tue Feb 2, 9:14 am)
Re: way to help: laptops and weekly, Lars Nooden, (Tue Feb 2, 10:06 am)
Re: way to help: laptops and weekly, Chris Bennett, (Tue Feb 2, 1:04 pm)
Re: way to help: laptops and weekly, Robert, (Tue Feb 2, 1:40 pm)
Re: way to help: laptops and weekly, Marco Peereboom, (Tue Feb 2, 1:53 pm)
Re: way to help: laptops and weekly, Ted Unangst, (Tue Feb 2, 2:10 pm)
Re: way to help: laptops and weekly, Robert, (Tue Feb 2, 2:34 pm)
Re: way to help: laptops and weekly, Paul M, (Tue Feb 2, 4:00 pm)