c#中的Windows预定任务窗口 [英] Windows scheduled tasks windows in c#

查看:58
本文介绍了c#中的Windows预定任务窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想阅读Windows计划任务并将当前作业详细信息保存在数据库中。



如何通过asp.net查找Windows计划任务窗口列表?

如何找到它的属性和解决方案必须在64位服务器上运行。



尝试过Microsoft.Win32.TaskScheduler.dll:不适用于64服务器

解决方案

尝试

为计划任务使用任务计划程序或Windows服务 [ ^ ]

使用Quartz.Net的ASP.NET中的计划任务 [ ^ ]

我猜这个教程回答了你的问题:

http://stopbyte.com/1424/asp-send-daily-emails-asp-net-website-users-programmatically [ ^ ]

和因为该链接表明使用Quartz.NET作为本文建议的更好的选择 http://articles.stopbyte.com/34/schedule-daily-email-sending-tasks-asp-net/ [ ^ ]



as这样你可以避免使用Windows计划任务和内部服务器的东西。因为大多数共享的ASP.NET托管包限制了您对这些部分的访问。



希望能帮助某人


I want to read Windows scheduled tasks and save the current job detail in Database.

How to find list of Windows scheduled tasks windows by asp.net?
How can find its property and solution must run in 64bit server.

Tried Microsoft.Win32.TaskScheduler.dll :not working for 64 server

解决方案

Try
Using Task Scheduler or Windows Service For Scheduled Tasks[^]
Scheduled Tasks In ASP.NET With Quartz.Net [^]


i guess this tutorial answers your question:
http://stopbyte.com/1424/asp-send-daily-emails-asp-net-website-users-programmatically[^]
and as that link suggests it much better to use some alternatives as Quartz.NET as this article suggests http://articles.stopbyte.com/34/schedule-daily-email-sending-tasks-asp-net/[^]

as that way you can avoid working with Windows Scheduled tasks and internal server stuff. as most of shared ASP.NET hosting packages limit your access to those sections.

hope that helps someone


这篇关于c#中的Windows预定任务窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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