开发者

Schedule asp.net page on server

开发者 https://www.devze.com 2023-01-29 07:55 出处:网络
what is the best way to schedule an asp.net page to run at a set interval on your ser开发者_Python百科ver without using a third party cron service? is there a way to do this with an IIS addin or scrip

what is the best way to schedule an asp.net page to run at a set interval on your ser开发者_Python百科ver without using a third party cron service? is there a way to do this with an IIS addin or script with windows task scheduler


Windows Task Scheduler + wget for windows.

http://gnuwin32.sourceforge.net/packages/wget.htm


I would think about putting that logic(the code in the asp.net page) in a windows service (which we write) which has a timer.


I don't know of any scheduling abilities in IIS, but you could enable/disable the service using scheduled tasks. Not sure if you would consider that 3rd party or not....

0

精彩评论

暂无评论...
验证码 换一张
取 消