lynx dump

mc@sd.amug.org mc@sd.amug.org
Thu, 19 Oct 2000 08:30:36 -0700


I should not be receiving mail from you, please take my email,
mc@fastq.com, off your list.




At 05:21 PM 10/17/00 -0700, you wrote:
>
>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, sinck@ugive.com 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
>
>
>________________________________________________
>See http://PLUG.phoenix.az.us/navigator-mail.shtml if your mail doesn't
post to the list quickly and you use Netscape to write mail.
>
>Plug-discuss mailing list  -  Plug-discuss@lists.PLUG.phoenix.az.us
>http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>
>