[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#600262: apt: random_sleep should not be executed if anacron has started the cron.daily script



Hi,

On Sun, Oct 24, 2010 at 1:45 PM, Goswin von Brederlow <goswin-v-b@web.de> wrote:
> There ae 2 problematic times. The first is 6:25 without anacron
> installed. The second is 7:35 with anacron installed.

Ok, I see. So the first version of the patch avoids the first
problematic time. For the second problematic time I could prepare a
new patch to:
1) check for the uptime and if higher than some time (30 minutes) to
execute "random_sleep" assuming that the computer was running over
night;
2) check for the current hour and if less or equal to 7 to also
execute "random_sleep".
3) something else that I can't see right now.

Which one would it be good for you to accept in the 'apt' package? Any
other idea?

Thanks



Reply to: