stewpid newbie tricks

Phil Shinn philshinn at mediaone.net
Fri Dec 15 03:23:06 EST 2000


Problem: I can execute my runSpider.bat file in NT from D:\Program
files\python\mine\spider
using command line interface just fine - here's runspider.bat:

python "D:\Program files\python\mine\spider\mySpider.py"

Here's mySpider.py:

import urllib
urllib.urlretrieve('http://www.time.org','time.html')

this works nicely & copies the html page at www.time.org to D:\Program
files\python\mine\spider.

My problem is when I try to schedule this to run on a daily basis by
using the NT command line AT:

at 16:00 /Every:m,t,w,th,f,s,su "d:program
files\python\mine\spider\runSpider.bat"

nothing seems to happen, i.e., scheduler does not seem to kick in, no
file gets created, not sure what happened.

Clues for the clueless?

thanks




More information about the Python-list mailing list