Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想安排一个简单的任务在控制台应用程序中发送邮件。我想在系统自动或手动重启后发送电子邮件。我正在使用带有“启动时”事件的 Windows 任务计划程序。但是系统重新启动时它没有启动。系统重启后有什么方法可以运行任务吗?
当为此方案选择“登录时”事件时。现在,一旦系统自动或手动重新启动,邮件就会出现。您可以使用任务计划程序中的“登录时”事件触发任务。