开发者

Program not running correctly from task scheduler

We have phone recording software running on a windows 7 box. We run a python script that tells a audio converter program sox, to convert the calls to mp3 format.

When we run the script by double clicking it, it works fine. But when we run it through the windows task scheduler, we get the error message.

'Sox is not recognized as an internal or external开发者_StackOverflow中文版 command, operable program or batch file.'

Any one have any insight on this issue.


You should add the program's full path or add the proper directory to your environment's PATH variable.


In the Task Scheduler, click Action tag, and then click Edit, by adding the directory of your program in the "Start in (optional):" you get rid of the message ".. is not recognized as an internal or external command, operable program or batch file.'

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜