Go Back   Technology Questions > Software Questions > Operating System Questions > Linux

Reply
 
LinkBack Thread Tools
  #16 (permalink)  
Old 07-25-2008, 06:21 AM
Ivan Marsh
Tablet PC Guest
 
Posts: n/a
Re: Cron job: TERM environment variable not set

On Thu, 10 Jul 2008 19:07:12 +0000, Bit Twister wrote:

> On Thu, 10 Jul 2008 13:54:24 -0500, Ivan Marsh wrote:
>>
>> I have a "clear;" statement in the script that was there to clean up
>> the output while debugging. I wounder if that's what's doing it.

>
> Yep that would be my first guess.
>
> code change would be
>
> tty -s
> if [ $? -eq 0 ] ; then # we are not running in cron, so,
> clear
> fi


Yep... that was it. Now I feel dumb.

--
"Remain calm, we're here to protect you!"

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

 
Old 07-25-2008, 06:21 AM
Xploder HD Movie Player for PS3. Manage, convert and transfer media files between the PC and PS3.
  #17 (permalink)  
Old 07-25-2008, 06:21 AM
Lew Pitcher
Tablet PC Guest
 
Posts: n/a
Re: Cron job: TERM environment variable not set

On Jul 10, 3:07*pm, Bit Twister <BitTwis...@mouse-potato.com> wrote:
> On Thu, 10 Jul 2008 13:54:24 -0500, Ivan Marsh wrote:
>
> > I have a "clear;" statement in the script that was there to clean up the
> > output while debugging. I wounder if that's what's doing it.

>
> Yep that would be my first guess.
>
> code change would be
>
> tty -s
> if [ $? -eq 0 ] ; then # we are not running in cron, so,
> * clear
> fi


ITYM

if tty -s ;
then
clear
fi
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #18 (permalink)  
Old 07-25-2008, 06:21 AM
Jim Diamond
Tablet PC Guest
 
Posts: n/a
Re: Cron job: TERM environment variable not set

On 2008-07-11, Lew Pitcher <lpitcher@teksavvy.com> wrote:
> On Jul 10, 3:07*pm, Bit Twister <BitTwis...@mouse-potato.com> wrote:
>> On Thu, 10 Jul 2008 13:54:24 -0500, Ivan Marsh wrote:
>>
>> > I have a "clear;" statement in the script that was there to clean up the
>> > output while debugging. I wounder if that's what's doing it.

>>
>> Yep that would be my first guess.
>>
>> code change would be
>>
>> tty -s
>> if [ $? -eq 0 ] ; then # we are not running in cron, so,
>> * clear
>> fi

>
> ITYM
>
> if tty -s ;
> then
> clear
> fi


UUOS. Tsk tsk, Lew.

Jim
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Environment Variable Load Order F. David del Campo Hill Windows XP 3 01-31-2008 12:20 PM
Path Environment Variable - Vista 64-bit FlyingHorse Windows Vista 0 11-19-2007 03:40 PM
Define Environment Variable Joe Cletcher Windows XP 2 10-26-2007 09:00 AM
How to use environment variable in hyperlink Terry Microsoft Office 0 10-04-2007 01:40 PM
Environment Variable Information Itech_Smart Windows XP 12 01-04-2007 06:39 AM


All times are GMT -8. The time now is 12:57 PM.


2003 - 2008 All Rights Reserved. Technology Questions

SEO by vBSEO 3.1.0