Windows XP - cron or scheduler for Python?

Roger Upole rupole at
Tue Jun 22 07:37:43 CEST 2004

You can actually run tasks under your userid without a password
if you're logged in.  However, you have to set a certain flag for the task.
You can do this programatically using Pywin32.

"Peter Hansen" <peter at> wrote in message
news:aN2dndDVVeQO4kvdRVn-sw at
> Eric @ Zomething wrote:
> > I'm trying to have some scripts run periodically on Windows XP and found
the "Task Scheduler" did not execute my scripts.  My scripts are of the form, and will run just by invoking that name in the Command
> >
> > Has anyone used the Windows Task Scheduler to run .py scripts, and if so
is there some intracacy to it?
> I had not tried it, so I just did.  My first attempt failed.  As it
> turned out, it was because I ignore the password field, assuming
> it would be able to run anyway while I was logged in.  The "status"
> field in the Task Scheduler window showed the reason... once I
> fixed that, it did work, either as "c:/" (make sure you
> include the right path here or in the "start in this folder" field)
> or as "c:/a/python23/python.exe c:/".
> If it's not working, double-check the status field to see why it
> didn't work...
> -Peter

More information about the Python-list mailing list