如何使用Asp.Net在Windows计划任务中添加任务 [英] How to add Task in Windows Scheduled Tasks using Asp.Net

查看:147
本文介绍了如何使用Asp.Net在Windows计划任务中添加任务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


如何使用Asp.Net在Windows计划任务中添加任务.
谢谢
Sreenath

Hi,
How can I add a Task in Windows Scheduled Tasks using Asp.Net.
Thanks
Sreenath

推荐答案

我不确定您可以直接这样做.应当将Web服务器从系统的其余部分中沙箱化.

但是,您可能会(从网站上)将必要的信息发布到数据库中,并在监视数据库并更新计划任务的同一框中运行Windows服务.

我不会这样做,因为那是一个巨大的安全问题.
I''m not sure you can - directly. The web server is supposed to be sandboxed from the rest of the system.

However, you could probably post the necessary info to a database (from the web site) and have a Windows servuice running on the same box that watches the database, and updates the scheduled tasks.

I wouldn''t do this though, because that''s a HUGE security issue.


这篇关于如何使用Asp.Net在Windows计划任务中添加任务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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