Skip to content Skip to sidebar Skip to footer

Task Schedular For Python File (.py)

I am trying to schedule a task in task scheduler I have created a batch file as below 'C:\ProgramData\Anaconda3\python.exe' 'C:\helloo\mail.py' pause the above is the content

Solution 1:

I have added the Action tab as below

1.in program i have mentioned PowerShell.exe
2. in next space i have mentioned -f " the file which you want to execute click on the file and click shift+right click and select copy as path " 

Post a Comment for "Task Schedular For Python File (.py)"