From owner-freebsd-bugs Tue Aug 15 10:53:15 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id KAA18198 for bugs-outgoing; Tue, 15 Aug 1995 10:53:15 -0700 Received: from mail.cs.tu-berlin.de (mail.cs.tu-berlin.de [130.149.17.13]) by freefall.FreeBSD.org (8.6.11/8.6.6) with ESMTP id KAA18156 for ; Tue, 15 Aug 1995 10:50:32 -0700 Received: from localhost.cs.tu-berlin.de ([130.149.1.124]) by mail.cs.tu-berlin.de (8.6.12/8.6.12) with ESMTP id TAA07463; Tue, 15 Aug 1995 19:00:21 +0200 Received: (from wosch@localhost) by localhost (8.6.9/8.6.9) id MAA00781; Tue, 15 Aug 1995 12:46:42 +0200 Date: Tue, 15 Aug 1995 12:46:42 +0200 From: Wolfram Schneider Message-Id: <199508151046.MAA00781@localhost> To: Garrett Wollman Cc: Wolfram Schneider , FreeBSD-bugs@freebsd.org Subject: bin/683: cron(8) 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> Reply-to: Wolfram Schneider MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: bugs-owner@freebsd.org Precedence: bulk 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