Cron questions

Daniel R. Levy levy at ttrdc.UUCP
Wed Oct 15 14:30:04 AEST 1986


In article <1120001 at hpfcla.HP.COM>, ajs at 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



More information about the Comp.unix.wizards mailing list