Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!gatech!cuae2!ltuxa!ttrdc!levy From: levy@ttrdc.UUCP (Daniel R. Levy) Newsgroups: net.unix-wizards Subject: Re: Cron questions Message-ID: <1247@ttrdc.UUCP> Date: Wed, 15-Oct-86 00:30:04 EDT Article-I.D.: ttrdc.1247 Posted: Wed Oct 15 00:30:04 1986 Date-Received: Wed, 15-Oct-86 21:57:49 EDT References: <6300012@wvlpdp> <1120001@hpfcla.HP.COM> Organization: AT&T, Computer Systems Division, Skokie, IL Lines: 20 In article <1120001@hpfcla.HP.COM>, ajs@hpfcla.HP.COM (Alan Silverstein) writes: >> It is much nicer to do it like so: >> 30 * * * * /bin/su person -c "whatever" > >For efficiency, make that: > >30 * * * * exec /bin/su person -c "exec whatever" > >as long as "whatever" is not a pipe. And as long as "person" does not have an interactive .profile (I've been burned by this). -- ------------------------------- Disclaimer: The views contained herein are | dan levy | yvel nad | my own and are not at all those of my em- | an engihacker @ | ployer or the administrator of any computer | at&t computer systems division | upon which I may hack. | skokie, illinois | -------------------------------- Path: ..!{akgua,homxb,ihnp4,ltuxa,mvuxa, go for it! allegra,ulysses,vax135}!ttrdc!levy