gpt4 book ai didi

windows - 构建调度应用程序需要研究哪些 Windows API?

转载 作者:可可西里 更新时间:2023-11-01 11:22:53 25 4
gpt4 key购买 nike

为什么不使用 Windows 调度程序?我有几个应用程序必须根据业务规则在特定时间运行,而不是典型的每个工作日下午 1 点。

我还需要一种方法让应用程序提供其进度的反馈,以便我可以有规则在应用程序运行缓慢或什至不再运行时通知我。

我应该研究哪些 Windows API? (例如,FileWatcher api 的时间版本)

让应用程序将其进度(文件、套接字、Windows 消息,???)通知调度程序的最佳方式是什么?

最佳答案

对于 Vista/Win2k8,有不错的 Task Scheduler 2.0 API:http://msdn.microsoft.com/en-us/library/aa384138(VS.85).aspx .之前的版本有Task Scheduler 1.0 API,但是我没用过。

关于windows - 构建调度应用程序需要研究哪些 Windows API?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/596631/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com