| |||
| 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!" |
| |||
| 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 |
| |||
| 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 |
![]() |
| Bookmarks |
| Thread Tools | |
| |
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 |