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

Re: ntpdate & script to update host at random time

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

Reply to: