Schedule Python Script - Windows 7 -


i have python script run @ regular intervals. running windows 7. best way accomplish this? easiest way?

you can in command line follows:

schtasks /create /sc hourly /tn pythontask /tr "path_to_python_exe path_to_python_script" 

that create hourly task called 'pythontask'. can replace hourly daily, weekly etc. path_to_python_exe like: c:\python25\python.exe. check out more examples writing in command line:

schtasks /? 

otherwise can open task scheduler , through gui. hope helps.


Comments

Popular posts from this blog

javascript - Enclosure Memory Copies -

php - Replacing tags in braces, even nested tags, with regex -