FutureQuest, Inc. FutureQuest, Inc. FutureQuest, Inc.

FutureQuest, Inc.
Go Back   FutureQuest Community > General Site Owner Support (All may read/respond) > General Coding/Development
User Name
Password  Lost PW

Reply
 
Thread Tools Search this Thread Display Modes
Old 07-07-2017, 04:00 PM   Postid: 186024
johnfl68
Site Owner
 
johnfl68's Avatar

Forum Notability:
975 pts: Dignified Competence!
[Post Feedback]
 
Join Date: Nov 2003
Location: Orlando, FL
Posts: 1,141
TERM environment variable not set.

Hello:

I've run Perl scripts before, and piped output to log file.

I have a new script here on FQ that is giving me back the following every time is is run from cron:

TERM environment variable not set.

All expected output from the script seems to be working fine. I've looked around and see people saying this is because there is a variable with the same name, but I don't have anything named TERM.

Anyone see this before, and no how to fix?

Thanks
__________________
Klaatu: I won't resort to threats, Mr. Harley. I merely tell you the future of your planet is at stake.
The Day the Earth Stood Still (1951)
johnfl68 is offline   Reply With Quote
Old 07-07-2017, 04:03 PM   Postid: 186025
 Kevin
Systems Administrator
 
Kevin's Avatar
 
Join Date: Aug 2001
Location: Orlando, FL
Posts: 2,986
Re: TERM environment variable not set.

The TERM variable should only matter if the script (or a module in it) is trying to format the output for the terminal. The variable isn't set because you aren't running the script in a terminal. So the problem is probably in whatever output formatting is being done.
__________________
Kevin
Kevin is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 visitors)
 

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 12:22 AM.


Running on vBulletin®
Copyright © 2000 - 2019, Jelsoft Enterprises Ltd.
Hosted & Administrated by FutureQuest, Inc.
Images & content copyright © 1998-2019 FutureQuest, Inc.
FutureQuest, Inc.