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

Re: Timeout for shell script



Andre,

> I have a shell script in /etc/ppp/ip-up.d/ that synchronizes the system
> clock with time servers via rdate. Sometimes the servers can't be
> reached, and the rest of my scripts are blocked. Is there a way to say:
> "You have at most 10 seconds to complete this command, or fail"?

When I asked in newsgroups about setting up rdate, I was howled at
and told that I should not even consider rdate, but that i should use
ntp. I do now and time setting is a problem of the past.

Have a look at ntp - you may be attempting to solve the wrong problem!

Keith

--
------------------------------------------------------------------------
Keith O'Connell                         "That which does not kill
Maidstone, Kent (UK)                          us, usually still hurts."
keith_oconnell@bigfoot.com
------------------------------------------------------------------------





Reply to: