[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] PHP via cronjob



> While it runs fine from the command prompt, calling it from cron
> gives the following:
> Your terminal lacks the ability to clear the screen or position the
> cursor.
>
> Short of compiling PHP to support the stand alone, is there another
> way to have the script run via a cronjob?
>

Thom,

You need to force the terminal type.  In a shell script you do it by
sticking "TERM=xterm" up top.  There must be similar syntax for php.

Cavan Kelly