[thelist] lynx from a cron job?

Edwin Martin e.j.martin at chello.nl
Thu Feb 14 06:21:00 CST 2002


>I have a project where I need to update a database with changing info
>about every 20 mins - I figured the cron.quarter-hourly would work
>great, and made up a php script to update the database and make some
>other tweaks. this runs fine from a shell with "lynx
>http://www.site.com/something.php -dump" but cron emails me saying "your
>terminal cannot change lines or move the cursor" is there any way to
>make lynx play nice?

Put "TERM=vt100" in your script, like:

lynx http://www.site.com/something.php -dump

Works for me.

Edwin Martin.

Surf Edwin Martin's brainwaves: http://www.bitstorm.org/edwin/

More information about the thelist mailing list