lynx dump

Inizio della pagina
Allegati:
Messaggio come e-mail
+ (text/plain)
Delete this message
Reply to this message
Autore: sinck@ugive.com
Data:  
Oggetto: 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