Re: Timeout for shell script

2001-05-02 Thread Moritz Schulte
Andre Berger <[EMAIL PROTECTED]> writes: > Thanks... but still I'd like to know if it's possible to use a shell > script with a timeout, in general. Have a look at /usr/share/doc/bash/examples/scripts/timeout.gz (in package 'bash-doc'). hth, moritz -- Moritz Schulte <[EMAIL PROT

Re: Timeout for shell script

2001-04-28 Thread John R Lenton
On Thu, Apr 26, 2001 at 11:24:30AM +0200, Andre Berger wrote: > 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 1

Re: Timeout for shell script

2001-04-27 Thread Rob Mahurin
On Thu, Apr 26, 2001 at 04:34:25PM +0200, Andre Berger wrote: > * Keith O'Connell <[EMAIL PROTECTED]>, 2001-04-26 16:29 +0200: > > > 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

Re: Timeout for shell script

2001-04-26 Thread Colin Watson
Andre Berger <[EMAIL PROTECTED]> wrote: >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

Re: Timeout for shell script

2001-04-26 Thread Andre Berger
* Keith O'Connell <[EMAIL PROTECTED]>, 2001-04-26 16:29 +0200: > 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: >

Re: Timeout for shell script

2001-04-26 Thread Keith O'Connell
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

Timeout for shell script

2001-04-26 Thread Andre Berger
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"? Andre Berger