rsalz@bbn.com (Rich Salz) (12/07/89)
I'm on a system without per-user crontab's (4.2BSD, Sun3.x, Ultrix, etc.). I want to invoke a shell script under the news userid. I also want to have as few intermediate shells lying around as possible. What combination of 'exec' and 'su -c' calls do I need to do? This is what I'm currently doing, su news -c 'exec /usr/lib/news/send-nntp' but it leaves a couple of shell processes around. Is this the keep-minimal-processes-around line? exec su news /usr/lib/news/send-nntp Replies to me will get summarized to this group. Thanks. /r$ -- Please send comp.sources.unix-related mail to rsalz@uunet.uu.net. Use a domain-based address or give alternate paths, or you may lose out.
envbvs@epb2.lbl.gov (Brian V. Smith) (12/08/89)
In article <2199@prune.bbn.com>, rsalz@bbn.com (Rich Salz) writes: < I'm on a system without per-user crontab's (4.2BSD, Sun3.x, Ultrix, etc.). I haven't installed Ultrix 3.1 yet, but in 3.0, there are no per-user crontabs. I quote (without permission) from crontab(5): >> The cron command executes at specified dates and times >> according to the instructions in the /usr/lib/crontab file. ^^^^^^^^^^^^^^^^ Does 3.1 have per-user crontabs? _____________________________________ Brian V. Smith (bvsmith@lbl.gov) Lawrence Berkeley Laboratory I don't speak for LBL, these non-opinions are all mine.
ingham@egeria.unm.edu (Kenneth Ingham) (12/08/89)
In article <4403@helios.ee.lbl.gov>, envbvs@epb2.lbl.gov (Brian V. Smith) writes: < In article <2199@prune.bbn.com>, rsalz@bbn.com (Rich Salz) writes: < < < I'm on a system without per-user crontab's (4.2BSD, Sun3.x, Ultrix, etc.). < < I haven't installed Ultrix 3.1 yet, but in 3.0, there are no per-user < crontabs. I quote (without permission) from crontab(5): < < >> The cron command executes at specified dates and times < >> according to the instructions in the /usr/lib/crontab file. < ^^^^^^^^^^^^^^^^ < Does 3.1 have per-user crontabs? We have 3.1 installed here. The manual page doesn't say anything about them (it reads the same as above). Kenneth Ingham Computer and Information Resources and Technology ingham@ariel.unm.edu University of New Mexico 505-277-8045 Albuquerque, NM 87131
aem@mthvax.cs.miami.edu (a.e.mossberg) (12/08/89)
In article <4403@helios.ee.lbl.gov>, envbvs@epb2.lbl.gov (Brian V. Smith) writes: < Does 3.1 have per-user crontabs? The question was really does Ultrix 3.1 have BSD or System V 'cron'? It still has BSD style, but recently a PD System V cron was posted to one of the sources groups. (maybe that was subject of the original message in this thread?) aem -- a.e.mossberg / aem@mthvax.cs.miami.edu / aem@umiami.BITNET / Pahayokee Bioregion Sure. I am not--I wasn't there to think. I was there to follow orders, not to think. - Bernard Barker, Watergate spy
vixie@decwrl.dec.com (Paul A Vixie) (12/29/89)
>> Does 3.1 have per-user crontabs?
Nope. Nor will 4.0.
But my free and portable cron does. It's available via anonymous FTP
from gatekeeper.dec.com, or on the DEC Easynet on node decwrl::. Look
in /pub/misc/vixie.
Paul Vixie
DEC WRL
--
Paul Vixie
Work: vixie@decwrl.dec.com decwrl!vixie +1 415 853 6600
Play: paul@vixie.sf.ca.us vixie!paul +1 415 864 7013