lynx dump

Page principale
Attachements:
Message en tant que courrier électronique
+ (text/plain)
Supprimer ce message
Répondre à ce message
Auteur: sinck@ugive.comsinckugive.com
Date:  
Sujet: 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