Schedule asp.net page on server
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....
精彩评论