fcrontab and script command nonexecution
Evan Dower
evantd at hotmail.com
Tue Aug 12 06:32:29 PDT 2003
[CC'ing the list so that others may benefit if they have similar problems]
I would consider this to be a desirable feature. Also, I notice that it is
not documented in script(1). I would very much like to keep the script
calls, since they allow me to have the output sent to me and store a copy in
a few well organized file for more detailed perusal. Perhaps I'll take a
look at the script code and see if I can divine a way to make it not
dependent on a terminal.
Thanks very much,
E
>From: "Brandon S. Allbery KF8NH" <allbery at ece.cmu.edu>
>To: "Evan Dower" <evantd at hotmail.com>
>Subject: Re: fcrontab and script command nonexecution
>Date: Tue, 12 Aug 2003 03:55:19 -0400
>
>On Tuesday 12 August 2003 01:09, Evan Dower wrote:
> > I wrote a script to do a -current build (and it works from the command
> > line), but when I put it in my fcrontab, the calls to script don't seem
>to
> > call their command argument. Any input would be greatly appreciated. A
>
>"script" expects to be connected to a terminal, and will malfunction when
>invoked without one (as cron does).
>
>In this kind of situation I run the script with "sh -x"; the result doesn't
>really look that much like the output of "script" but is generally usable.
>
>--
>brandon s. allbery [os/2][linux][solaris][japh] allbery at kf8nh.apk.net
>system administrator [WAY too many hats] allbery at ece.cmu.edu
>electrical and computer engineering KF8NH
>carnegie mellon university ["better check the oblivious first" -ke6sls]
>
_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail
More information about the freebsd-ports
mailing list