使用任务计划程序安装Python脚本w / Windows7 - 错误(0x2)

时间:2018-01-11 15:45:14

标签: python cron taskscheduler

过去几天我一直在解决这个问题。我有一个Python脚本,手动运行没有任何问题。

我的Python代码实质上是将一个pandas数据帧写入MSSQL服务器。

我正在尝试将Task Scheduler设置为每天在特定时间自动运行我的Python脚本。但我总是得到0x2错误 - 见下面的屏幕截图。

enter image description here 以下是我在任务计划程序中的选项卡上选择的条件:

常规选项卡:我还运行时没有选中“以最高权限运行”...同样的错误结果 enter image description here

动作标签

enter image description here

条件标签 enter image description here

0 个答案:

没有答案