[asterisk-users] console color

Tilghman Lesher tlesher at digium.com
Fri Sep 18 10:44:52 CDT 2009


On Friday 18 September 2009 09:28:24 Damon Estep wrote:
> about once a month we issue a "service asterisk restart" via a cron job,
> and this is where we lose the color.

Most likely, your TERM environmental variable is not set when the cron job
runs.  This environmental variable should be set to the name of a terminal
which supports color ("linux" is a good choice, except on non-Linux systems,
where "xterm-color" might be better).

-- 
Tilghman Lesher
Digium, Inc. | Senior Software Developer
twitter: Corydon76 | IRC: Corydon76-dig (Freenode)
Check us out at: www.digium.com & www.asterisk.org



More information about the asterisk-users mailing list