On Fri, Jun 03, 2005 at 11:36:41AM -0400, jmr_071769 wrote:
> hello again with a debian question.
> 
> i'd like to be able to have a few machines 'apt-get update' themselves
> at a random time near/around midnight. how can i go about this with
> another easy script?
> 
I almost forgot, in my previous reply: if you use the 
'sleep $((RANDOM % 1200)) command directly in the crontab, not in a 
script, change the % to \%.


-- 
Depend on the rabbit's foot if you will, but remember, it didn't help
the rabbit.
                -- R.E. Shay


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to