Path: utzoo!utgpu!watmath!uunet!cs.utexas.edu!rutgers!tut.cis.ohio-state.edu!att!cbnewsc!levy From: levy@cbnewsc.ATT.COM (Daniel R. Levy) Newsgroups: unix-pc.general Subject: yet again Re: crontab Daemon-from-Hell Summary: Are my postings getting out? Message-ID: <1212@cbnewsc.ATT.COM> Date: 10 Jun 89 20:00:18 GMT References: <19071@cup.portal.com> <14373@bfmny0.UUCP> <19196@cup.portal.com> <1545@sialis.mn.org> Organization: AT&T Bell Laboratories, Skokie IL Lines: 32 In article <1545@sialis.mn.org>, rjg@sialis.mn.org (Robert J. Granvin) writes: [about uudemon.day] > The solution is VERY simple. Remove the `cd`, and make the find > reference an explicit path. If the directory dies or goes away, the > find will fail, and nothing more will happen than your uucp mailfile > getting a note of the failure. Could someone please tell me if my postings on this group are getting out? Twice this past week I mentioned that a failed 'cd' (due to, for example, the directory named as the argument to 'cd' not being present) would ABORT a script running under /bin/sh, uucpadm's default shell. This is UNLIKE what happens in an interactive shell session, where the shell does not abort upon a failed 'cd' but simply stays in the directory where it was before the failed 'cd'. Unless there is some reason that the uudemon.day isn't running under stock /bin/sh (e.g., you installed your own version of /bin/sh which does not abort scripts upon a failed cd, or installed /bin/ksh in place of /bin/sh, or gave uucpadm a shell of /bin/ksh in /etc/passwd [why? when it's not an account meant to be logged into directly]) there is NO DANGER of the stock uudemon.day wiping out anything other than 30-day-old contents of /usr/spool/uucppublic. Please folks, don't holler at AT&T for this.... I apologize for sounding exasperated. I assume that my posts just haven't gotten to Robert's site yet. Are they getting out at all? -- Daniel R. Levy UNIX(R) mail: att!ttbcad!levy, att!cbnewsc!levy AT&T Bell Laboratories 5555 West Touhy Avenue Any opinions expressed in the message above are Skokie, Illinois 60077 mine, and not necessarily AT&T's.