任务调度程序显示应用程序是“正在运行”。什么时候结束 [英] Task scheduler shows the application is "Running" when it has finished

查看:90
本文介绍了任务调度程序显示应用程序是“正在运行”。什么时候结束的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我编写了一些使用Visual Studio 2017 Visual Basic进行简单文件/文件夹处理的应用程序。

I have written a few applications that do some simple file / folder processing using Visual Studio 2017 Visual Basic.

我使用build命令构建了exe调试文件夹。

I built the exe with the build command which appeared in the Debug folder.

当我运行它时,它可以完成任务并关闭。

When I run it, it can finish the task and close.

但是,如果我使用任务调度程序运行它,应用已完成并关闭,任务计划程序的状态仍显示为"正在运行"。 

However, if I use task scheduler to run it, when the app finished and closed, the status of Task Scheduler still shows it as "Running". 

我想知道我该怎么做才能解决此问题?

I wonder what can I do to correct this problem?

推荐答案

你好Lenny Li,

Hi Lenny Li,

感谢您发布MSDN论坛。

Thank you for posting MSDN forum.

据我所知,任务计划程序窗口不会自动刷新,这可能会让您相信它仍在运行。

As far as I know that the Task Scheduler window doesn't automatically refresh, which could lead you to believe it's still running.

单击右侧面板上的"刷新"链接可能会显示它已更改。

Clicking the Refresh link on the right side panel should hopefully show that it changes.

最好的问候,

Hart


这篇关于任务调度程序显示应用程序是“正在运行”。什么时候结束的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆