Problems running python script by windows task scheduler that does pscp

后端 未结 6 1889
轮回少年
轮回少年 2020-12-08 23:16

Not sure if anyone has run into this, but I\'ll take suggestions for troubleshooting and/or alternative methods.

I have a Windows 2008 server on which I am running s

6条回答
  •  离开以前
    2020-12-08 23:32

    Create a batch file add your python script in your batch file and then schedule that batch file .it will work . Example : suppose your python script is in folder c:\abhishek\script\merun.py first you have to go to directory by cd command .so your batch file would be like :

    cd c:\abhishek\script python merun.py

    it work for me .

提交回复
热议问题