Re: way to help: laptops and weekly

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Ingo Schwarze
Date: Sunday, January 31, 2010 - 4:53 pm

Joakim Aronius wrote on Fri, Jan 29, 2010 at 09:32:05AM +0100:



Simplifying a bit:  Run weekly(8) and monthly(8) from daily(8) instead of
from cron(8), but only when the last run is at least a week or a month
ago, respectively.  This is similar in spirit to the way security(8)
is run.

Main advantage: When your notebook is in use every N-th night,
the weekly(8) mean period decreases from 7*N days to 7+(N-1)/2 days.

Bonus: Get rid of duplicate functions in weekly(8) and monthly(8).

Side effect: daily(8), weekly(8) and monthly(8) run one after the other,
not in intervals of two hours.  In some setups, this might be a bonus,
in some others, an inconvenience.

Thoughts?
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: way to help: laptops and weekly, Jonathan Thornburg, (Tue Jan 26, 1:03 pm)
Re: way to help: laptops and weekly, Bofh (Peter Kay), (Tue Jan 26, 2:09 pm)
Re: way to help: laptops and weekly, K K, (Tue Jan 26, 3:40 pm)
Re: way to help: laptops and weekly, Ingo Schwarze, (Thu Jan 28, 5:09 pm)
Re: way to help: laptops and weekly, K K, (Thu Jan 28, 5:28 pm)
Re: way to help: laptops and weekly, Stas Miasnikou, (Fri Jan 29, 12:48 am)
Re: way to help: laptops and weekly, Joakim Aronius, (Fri Jan 29, 1:32 am)
Re: way to help: laptops and weekly, Lars Nooden, (Sun Jan 31, 12:04 pm)
Re: way to help: laptops and weekly, Ingo Schwarze, (Sun Jan 31, 4:24 pm)
Re: way to help: laptops and weekly, Ingo Schwarze, (Sun Jan 31, 4:36 pm)
Re: way to help: laptops and weekly, Matthew Szudzik, (Sun Jan 31, 4:46 pm)
Re: way to help: laptops and weekly, Ingo Schwarze, (Sun Jan 31, 4:53 pm)
Re: way to help: laptops and weekly, Ingo Schwarze, (Sun Jan 31, 5:07 pm)
Re: way to help: laptops and weekly, Jacob Meuser, (Sun Jan 31, 7:13 pm)
Re: way to help: laptops and weekly, Jacob Meuser, (Sun Jan 31, 7:35 pm)
Re: way to help: laptops and weekly, Jussi Peltola, (Sun Jan 31, 8:57 pm)
Re: way to help: laptops and weekly, Jacob Meuser, (Sun Jan 31, 9:54 pm)
Re: way to help: laptops and weekly, Jussi Peltola, (Sun Jan 31, 10:42 pm)
Re: way to help: laptops and weekly, Owain Ainsworth, (Mon Feb 1, 6:57 am)
Re: way to help: laptops and weekly, J.C. Roberts, (Wed Feb 3, 8:00 am)
Re: way to help: laptops and weekly, Owain Ainsworth, (Wed Feb 3, 8:27 am)