I have a python script that works fine when running on IDE, but "Incorrect Function(0x80070001)" error returns when I run it via Task Scheduler on Windows 2012. It was configured same as other successfully scheduled tasks that call python scripts. There is no error in History tab.It shows that the task was completed almost immediately after it started but it actually does nothing what the script does when running on IDE.
What may be causing this? Or how can I debug "Incorrect Function" error?
User contributions licensed under CC BY-SA 3.0