Thursday, March 29, 2012

Server Side Process

I'm building a web application with VB.NET. Is there any capability for initiating a timed server side process. For instance... if at specific intervals or at when the server is slow, to have the server updated database counters OR create literal HTML pagers?You could make a windows service application which pings the server, and initiates on a time period. You would have to code this yourself though.
Another possibility is to create a windows or console application and make it run every x minutes by using theWindows Task Scheduler Click Administrative Tools Scheduled Tasks on Windows Servers or machines.

hope this helps,
sivilian
Like Sivilian said, you can use a .Net service to for this.. The service can either monitor CPU usage or maybe even use the Application.Idle event (I'm not sure about the event since it might only work at the application level) to know when the server is not busy. I don't have the code handy, but I've monitored the CPU usage using the System.Diagnostics namespace before.

No comments:

Post a Comment