Gossamer Forum
Quote Reply
Lynx...
Does anyone know what something like this would mean;

Your Terminal type is unknown!

Enter a terminal type: [vt100]
TERMINAL TYPE IS SET TO vt100
(B)0[?7h[?1h=Getting http://greetings.mysearchengine.com/cron.phpLooking up greetings.mysearchengine.com



[?1l>

Running the 'lynx' command via SSH, or calling the URL in a browser works fine. So why whats all this Terminal thing about? Unsure

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] Lynx... In reply to
Anyone? Unsure

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] Lynx... In reply to
What's the command you're running on your box to get that?

Code:
mary% lynx http://greetings.mysearchengine.com/cron.php

While trying to retrieve the URL: http://greetings.mysearchengine.com/cron.php

The following error was encountered:

Unable to determine IP address from host name for
greetings.mysearchengine.com

The dnsserver returned:

Name Error: The domain name does not exist.

- wil
Quote Reply
Re: [Wil] Lynx... In reply to
That is not the real URL. I don't want to give out the real URL, because it is a development project, and it would reveal one of the new releases Wink

Anyway, I just tried it with the real 'lynx' command, and it worked fine. It seems to only be via cron that the error is given :(

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] Lynx... In reply to
Cron doesn't have the same env. variables as your user account that's why. You need to set these before trying the command through cron.

- wil
Quote Reply
Re: [Wil] Lynx... In reply to
Yeah, but how would you set it, and how would you know what to set? I've had a look on google, but it doesn't give anything on this kind of thing :(

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] Lynx... In reply to
Lynx is interactive, so it wouldn't run like that via cron. Try:

lynx -source http://yahoo.com/

If you just want to grab the contents of a URL.

Cheers,

Alex
--
Gossamer Threads Inc.