I'm pretty sure this came up before and I suggested this solution:

Wrap the cron job in a shell script with this at the top
TERM=linux
export TERM

but then someone suggested a better solution...I don't remember the
better one though :(

-Matt
http://www.pseudocoder.com


On Apr 21, 6:07 pm, Miles J <[email protected]> wrote:
> So I got a shell working when a cron is run, but this error is at the
> top. Anyone know how to fix it?
>
> TERM environment variable not set.
>
> Welcome to CakePHP v1.2.2.8120 Console
> ---------------------------------------------------------------
> App : app
> Path: /path/here/
> ---------------------------------------------------------------
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to