lynx dump

Kezdőlap
Csatolmányok:
Üzenet email-ben
+ (text/plain)
Üzenet törlése
Válasz az üzenetre
Szerző: sinck@ugive.comsinckugive.com
Dátum:  
Tárgy: 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