Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Aug 1995 11:32:34 -0400
From:      Garrett Wollman <wollman@halloran-eldar.lcs.mit.edu>
To:        Wolfram Schneider <wosch@cs.tu-berlin.de>
Cc:        Garrett Wollman <wollman@halloran-eldar.lcs.mit.edu>, FreeBSD-bugs@freebsd.org
Subject:   bin/683: cron(8)
Message-ID:  <9508141532.AA11236@halloran-eldar.lcs.mit.edu>
In-Reply-To: <199508141459.QAA11761@caramba.cs.tu-berlin.de>
References:  <199508131617.SAA13412@localhost> <9508141442.AA11143@halloran-eldar.lcs.mit.edu> <199508141459.QAA11761@caramba.cs.tu-berlin.de>

next in thread | previous in thread | raw e-mail | index | archive | help
<<On Mon, 14 Aug 1995 16:59:27 +0200, Wolfram Schneider <wosch@cs.tu-berlin.de> said:

>> This is simply wrong.  Programs such as `cron' have no business
>> attempting to parse the command line given to them; that's the job of
>> the shell, AND THE SHELL ONLY.

> I need no shell for starting '/usr/libexec/atrun'.

You missed the point.  It is none of cron's business to be parsing
shell command lines, period.

What should cron do with this:

------------------------------------
SHELL=/usr/site/bin/bash
30 4 1 * * help
------------------------------------

Or how about this:

------------------------------------
SHELL=/usr/local/bin/foosh
15 0 * * */2 grimblepritz garply foobiebletch
------------------------------------
(where in the `foosh' language, `garply' means the same as `>' in
Bourne shell)

You are putting knowledge into utility programs which have no business
applying them; this is simply the Wrong Thing.

-GAWollman

--
Garrett A. Wollman   | Shashish is simple, it's discreet, it's brief. ... 
wollman@lcs.mit.edu  | Shashish is the bonding of hearts in spite of distance.
Opinions not those of| It is a bond more powerful than absence.  We like people
MIT, LCS, ANA, or NSA| who like Shashish.  - Claude McKenzie + Florent Vollant



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