Date: Tue, 12 Aug 2003 06:32:27 -0700 From: "Evan Dower" <evantd@hotmail.com> To: allbery@ece.cmu.edu Cc: freebsd-ports@freebsd.org Subject: Re: fcrontab and script command nonexecution Message-ID: <BAY8-F87vEjeAGVkjEl0000c0c8@hotmail.com>
next in thread | raw e-mail | index | archive | help
[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@ece.cmu.edu> >To: "Evan Dower" <evantd@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@kf8nh.apk.net >system administrator [WAY too many hats] allbery@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BAY8-F87vEjeAGVkjEl0000c0c8>