Re: cron and setting TERM
Posted in 1999
Topics: General Discussion
But, it would be a good test to see if the semi-colon is "wanted" when running from cron... TERM=wy60; export TERM or even TERM=wy60 export TERM Steve Bryan Tonnet wrote in message <37C32850.E5CDD778@phase4.com.au>... >Sujit.Pal@bankofamerica.com wrote: > >> Dont you need to put a semi-colon between the envvar=value and export >> envvar. Something like: >> >> TERM=wy60; export TERM > >No. sh/ksh/bash (probably others) are happy without the extra ; . >Hey, anything to save a bit of effort at the keyboard :) > >Bryan Tonnet
On Wed, 25 Aug 1999 19:55:02 -0500, in article <D48458CFDC0C1166.FA604F010867C40A.40BD98428BA3342D@lp.airnews.net>, "Steven L Cooper" <scooper@thecompounders.com> wrote: >But, it would be a good test to see if the semi-colon is "wanted" when >running from cron... > >TERM=wy60; export TERM >or even >TERM=wy60 >export TERM Better to specify the shell at the beginning rather than guess #!/bin/sh -- for i in databasix.com ntrnet.net primenet.com ; do ; gburnore@$i ; done --------------------------------------------------------------------------- How you look depends on where you go. --------------------------------------------------------------------------- Gary L. Burnore | ÝÛ³ºÝ³Þ³ºÝ³³Ýۺݳ޳ºÝ³Ý³Þ³ºÝ³ÝÝÛ³ | ÝÛ³ºÝ³Þ³ºÝ³³Ýۺݳ޳ºÝ³Ý³Þ³ºÝ³ÝÝÛ³ DOH! | ÝÛ³ºÝ³Þ³ºÝ³³Ýۺݳ޳ºÝ³Ý³Þ³ºÝ³ÝÝÛ³ | ÝÛ³ 3 4 1 4 2 ݳ޳ 6 9 0 6 9 ÝÛ³ spamgard(tm): zamboni | Official Proof of Purchase =========================================================================== PGP Public Key: http://www.databasix.com/~gburnore/pubkey/pubkey.html ===========================================================================
Steven L Cooper wrote: > > But, it would be a good test to see if the semi-colon is "wanted" when > running from cron... > > TERM=wy60; export TERM > or even > TERM=wy60 > export TERM Fair enough. Stand by.... No good. I supect that the ; is not important as other variables such as PATH and the various INFORMIXXXX seem hoopy. Perhaps I should just hire someone to run my jobs manually overnight. :) :( Bryan Tonnet