[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] PHP via cronjob
- Subject: RE: [cobalt-users] PHP via cronjob
- From: "Cavan Kelly" <cavan@xxxxxxxxxxx>
- Date: Sat Aug 25 23:19:36 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
> 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