[leafnode-list] Re: [PATCH] Random initial delay for fetchnews

Matthias Andree matthias.andree at gmx.de
Thu Jul 20 16:47:36 CEST 2006


Reiner Steib <reinersteib+gmane at imap.cc> writes:

> What's wrong with the following crontab entry?
>
> | */5 * * * * sleep $(($RANDOM % 60)); /usr/sbin/fetchnews
>
> BTW, I think fetching so often is not very friendly, but of course
> your provider may allow it.

Not portable. I still think we should ship a general-purpose
"randomsleep, then exec" program (as wrapper) instead.

-- 
Matthias Andree



More information about the leafnode-list mailing list