Running php scripts in cron using lynx [UPDATED SOLUTION]
| From: | Jason Cox | Date: | Thu, 02 Nov 2000 21:43:18 +0000 |
| Subject: | Running php scripts in cron using lynx [UPDATED SOLUTION] | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-23465@lists.php.net to get a copy of this message | ||
I've run into a problem of which I was unaware. If you run a command like
"lynx -dump http://someurl.com/page.php"
in cron it could give you an error
like "Your terminal lacks to ability to position the cursor..." I delivers
this message to the user running the script or /dev/null if that's where you
direct it so you'll never no it isn't working. To fix this, add the
following line to your crontab file:
TERM=vt100
It fixes the problem.
Just thought someone would need this sooner or later.
Jason
_______________________________________________________
Site Design, Hosting, and E-Commerce at www.webpipe.net