On Apr 14, 8:33 am, Matthew Woodcraft <[EMAIL PROTECTED]> wrote: > In article <[EMAIL PROTECTED]>, > > VictorMiller <[EMAIL PROTECTED]> wrote: > > I've written a python script which, using urllib, and urllib2 will > > fetch a number of files that that I'm interested in from various > > websites (they're updated everyday). When I run the script from my > > command line everything works as intended. However, when the script > > is run from crontab every single url that I attempt to open gets > > "connection refused". Has anyone ever seen anything like this? If > > so, what's causing it, and what can I do about it? > > Perhaps you have an http_proxy environment variable set in the > interactive session but not in cron's environment? > Aha! Thanks, I think that that may indeed be the problem. I'll know for sure tomorrow morning after I look at the trace of the run.
Victor > -M- -- http://mail.python.org/mailman/listinfo/python-list