How can I make a program automatically run once per day?

John Salerno johnjsal at gmail.com
Wed Jul 27 06:09:53 CEST 2011


On Jul 26, 9:22 pm, Andrew Berg <bahamutzero8... at gmail.com> wrote:
> On 2011.07.26 08:05 PM,JohnSalernowrote:> Hmm, okay I'm finally trying Task Scheduler, but how do I set it to
> > run a Python script? It seems to not work, I suppose because it's
> > running the script but doesn't know how to find Python to run it
> > properly.
>
> Tell it to run the Python interpreter and pass the script as an argument.
>
> --
> CPython 3.2.1 | Windows NT 6.1.7601.17592 | Thunderbird 5.0
> PGP/GPG Public Key ID: 0xF88E034060A78FCB

Thank you. I changed it as suggested so that now it runs C:
\Python32\python.exe extract_songs.py but it still isn't working. A
DOS prompt flashes real quick as it runs, but when I check the output
file that is supposed to be written to, nothing new has been added.
I'm not sure what the problem is now. I know the script itself works
because I just ran it manually and the output was fine.



More information about the Python-list mailing list