Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!swlabs!csd_v!bak From: bak@csd_v.UUCP (Bruce) Newsgroups: comp.unix.questions Subject: UUCICO exit status... Message-ID: <134@csd_v.UUCP> Date: Sat, 21-Nov-87 19:29:31 EST Article-I.D.: csd_v.134 Posted: Sat Nov 21 19:29:31 1987 Date-Received: Mon, 23-Nov-87 05:37:33 EST Organization: Computer Systems Design -- Sandy Hook, Ct. Lines: 27 Keywords: uucp, uucico Perhaps I am reinventing the wheel here, but I am trying to write a utility that polls a system and continues to retry every so often ( default 1 hour intervals ) until a successful connection is established. I am doing this because if I just issue a $ uucico -r1 sysname & or some equivalent like uusub, etc., the connection is only tryed three times if the destination is busy and then the poll goes away. I would like a utility that continues to exec uucico and then reschedule itself until uucico successfully connects to the destination system. My problems are (1) is this really necessary or is there some uucp facility ( not HONEYDANBER ) which incorporates this function and (2) if not, how do I tell whether or not uucico has successfully connected to the target system. Uucico seems to exit 0 regardless of the circumstances. Any help would be appreciated. -- Bruce Kern | uunet!swlabs!csd_v!bak Computer Systems Design | 1-203-270-0399 29 High Rock Rd., Sandy Hook, Ct. 06482 | This space for rent.