任务调度器+python+bat文件
Task scheduler +python + bat file
我正在尝试在任务计划程序中安排任务
我创建了一个批处理文件
如下
"C:\ProgramData\Anaconda3\python.exe"
"C:\helloo\mail.py"
pause
以上是我的批处理文件的内容。
当我 运行 批处理文件时,我可以获得输出。我正在执行的代码没有遇到任何问题。
但是有了任务计划
我正在执行以下步骤
1.open task schedular
2.create task -- provided the name of the task and description
clicked on run whether the user is logged in or not and run with highest privileges
3.in triggers -->new --> onetime --ok
4.Action --> new--> action :start a program -- program script: where i kept my batch file.
5.cliked on finish
6. i can able to find the task in task schedular but it is not showing as running
我需要“操作”选项卡中的帮助
仅在第 4 点发生变化,它按预期工作
1.open task schedular
2.create task -- provided the name of the task and description
clicked on run whether the user is logged in or not and run with highest
privileges
3.in triggers -->new --> onetime --ok
4.Action --> new--> program/script: where I kept my batch file.
5.cliked on finish
我正在尝试在任务计划程序中安排任务 我创建了一个批处理文件 如下
"C:\ProgramData\Anaconda3\python.exe"
"C:\helloo\mail.py"
pause
以上是我的批处理文件的内容。 当我 运行 批处理文件时,我可以获得输出。我正在执行的代码没有遇到任何问题。 但是有了任务计划 我正在执行以下步骤
1.open task schedular
2.create task -- provided the name of the task and description
clicked on run whether the user is logged in or not and run with highest privileges
3.in triggers -->new --> onetime --ok
4.Action --> new--> action :start a program -- program script: where i kept my batch file.
5.cliked on finish
6. i can able to find the task in task schedular but it is not showing as running
我需要“操作”选项卡中的帮助
仅在第 4 点发生变化,它按预期工作
1.open task schedular
2.create task -- provided the name of the task and description
clicked on run whether the user is logged in or not and run with highest
privileges
3.in triggers -->new --> onetime --ok
4.Action --> new--> program/script: where I kept my batch file.
5.cliked on finish