Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Aug 1995 12:46:42 +0200
From:      Wolfram Schneider <wosch@cs.tu-berlin.de>
To:        Garrett Wollman <wollman@halloran-eldar.lcs.mit.edu>
Cc:        Wolfram Schneider <wosch@cs.tu-berlin.de>, FreeBSD-bugs@freebsd.org
Subject:   bin/683: cron(8)
Message-ID:  <199508151046.MAA00781@localhost>
In-Reply-To: <9508141755.AA11596@halloran-eldar.lcs.mit.edu>
References:  <199508131617.SAA13412@localhost> <9508141442.AA11143@halloran-eldar.lcs.mit.edu> <199508141459.QAA11761@caramba.cs.tu-berlin.de> <9508141532.AA11236@halloran-eldar.lcs.mit.edu> <199508141557.RAA14439@caramba.cs.tu-berlin.de> <9508141644.AA11411@halloran-eldar.lcs.mit.edu> <199508141725.TAA18350@caramba.cs.tu-berlin.de> <9508141755.AA11596@halloran-eldar.lcs.mit.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Garrett Wollman writes:
>> You too. Cron(8) is for execute *commands*, not execute your favourite
>> *shell command* lines. 
>
>Nonsense.  You are trying to make a distinction WHICH DOES NOT EXIST
>IN REALITY.

Which reality? Your, mine, Posix, X/Open, AT&T?


>> Starting a shell is a feature. It is your own risk if
>> SHELL=/usr/bin/perl not work (perl -c is for syntax checking).
>
>Which is completely irrelevant to the question at hand.
>
>Question for you:
>
>	Why the h*** do you care that cron runs a shell?  What does
>	the shell do that is so horrid that you want to break cron?
>	What makes you think that every !@#$%^ utility in the system
>	needs to parse command lines when there is one program (the
>	Bourne shell) whose sole purpose is to do precisely that?


$ sa |egrep ' (cron|sh|atrun).?$'
   59831  4528877.13re       89.06cp        1avio     5586k   sh
   12883       29.92re       19.91cp        2avio     2358k   atrun
   26950  1157161.65re       19.85cp        0avio     8737k   sh*
     563       64.03re       15.00cp        3avio      189k   cron
   14469  1176426.21re       12.91cp        1avio     7534k   cron*
       3        0.12re        0.00cp        9avio     3975k   atrun*

15,000 cron's, mostly for atrun. Every 6th sh(1) was calling from cron
(other 72,000 sh(1) mainly from make(1)).

Wolfram



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199508151046.MAA00781>