如何在ASP.net中使用cron [英] How to use cron in ASP.net

查看:84
本文介绍了如何在ASP.net中使用cron的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在每个日期后自动从sql数据库中删除一些原始文件..在ASP.net中是可能的吗?

I want delete some raw from sql database after every date automatically.. Is it possible in ASP.net???

推荐答案

是否使用Sql Server标准还是企业版?如果这样做,则建议您使用Sql Server Agent作业,请参见: http://msdn.microsoft .com/en-us/library/ms189237.aspx [ ^ ]

使用代理时,该操作独立于其他应用程序,并且从Sql Server的角度来看是可靠的.
Do you use Sql Server standard or enterprise edition? If you do, then I suggest that you use Sql Server Agent jobs, see: http://msdn.microsoft.com/en-us/library/ms189237.aspx[^]

When using agent the operation is independent from other applications and reliable from the Sql Server point of view.


这篇关于如何在ASP.net中使用cron的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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