lynx dump

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: plug@arcticmail.com
Date:  
New-Topics: Permanent Position, Phoenix -> Unix & Oracle, PL/SQL, ProC, C++
Subject: lynx dump
Also, some programs don't like it when there
is no controlling tty for the process. If you
do a "ps auxww" and there's a "?" in the TTY
column, then that process does not have a
controlling tty.

If David's TERM environment variable thing
doesn't do the trick, try running your command
using "screen". screen will allocate a
pseudo-tty, and run your process using that
pseudo-tty as the process' controlling tty.


Example:

     screen cat /etc/shadow



D

OT:  Did anybody see the tux2 filesystem on /.?
     Sounds interesting...



* On Tue, Oct 17, 2000 at 03:15:50PM -0700, wrote:
>
>
> \_ 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