Xref: utzoo comp.sources.d:6356 unix-pc.general:7359 Path: utzoo!utgpu!watserv1!watmath!att!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!sdd.hp.com!decwrl!frnkmth!bill From: bill@franklin.com (Bill) Newsgroups: comp.sources.d,unix-pc.general Subject: Re: Naval Observatory time program - utc Message-ID: <20Jan91.133634.9756@franklin.com> Date: 20 Jan 91 13:36:34 GMT References: <1991Jan16.230534.27011@esleng.uucp> <1991Jan19.011100.18405@blilly.UUCP> Organization: Franklin Electronic Publishers, Mt. Holly, NJ Lines: 10 If you want utc to hang up the phone by killing cu, stick the following at the end of utc: sig = signal(SIGTERM, SIG_IGN); kill(-getpgrp(), SIGTERM); signal(SIGTERM, sig); You will have to make sure that the pipeline is not running with the process group of its invoker, unless you want to kill the invoker as well. Calling it from cron works fine.