lynx dump

Etusivu
Liitteet:
Viesti alkuperäisessä muodossaan
+ (text/plain)
Poista viesti
Vastaa
Lähettäjä: sinck@ugive.comsinckugive.com
Päiväys:  
Aihe: lynx dump

\_ In the past, I have run the following in a crontab:
\_
\_ lynx -dump http:/<URL OF PAGE> | mail -s "My Subject" me
\_
\_ On the command line everything works as expected, however,
\_ running it in cron, it chokes. Complains about my terminal
\_ not supporting something or another.

It doesn't like the term setting cron sets up for you.

Try lieing to the shell in crontab:

* * * * * (export term=vt100; lynx -dump ... | mail -s ...)

YMMV.

Or try another tool like curl or wget.

David