python win98 schedule = trouble?

Ben Thomas bthomas at trey-industries.com
Wed Sep 15 14:44:39 EDT 1999


thanks, I will look that direction. As a temp fix, I made a batch file
called start_zip.bat which contains
'c:\progra~1\python\python d:\data\vacman\zipit.py'

the Win98 scheduler runs it just fine. At least now I can go forward.
Makes me really curious, I will try to figure it out.

Ben

Gordon McMillan wrote:

> Ben Thomas wrote:
>
> > I cannot schedule SUCCESSFULLY a python script to start via the
> > Win98 task scheduler. Is it possible to do so? I see it attempt,
> > start and fly by but my job does not get done. Very sad.....
>
> As a guess, it probably has something to do with the current
> directory or some such. First, add "-i" to the invokation so the
> DOS box hangs around. You might also add "-v" to see where
> Python is importing things from. Finally, you might run a script
> that doesn't do anything except dump info from the sys and os
> modules so you can see what kind of environment the
> scheduler provides to your script.
>
> - Gordon





More information about the Python-list mailing list