How to keep a process running on a remote windows server

Posted by DutrowLLC on Stack Overflow See other posts from Stack Overflow or by DutrowLLC
Published on 2009-05-23T18:36:50Z Indexed on 2010/03/31 2:53 UTC
Read the original article Hit count: 372

Filed under:
|
|
|

I need to implement a background process that runs on a remote windows server 24/7. My development environment is C#/ASP.NET 3.5. The purpose of the process is to:

  • Send reminder e-mails to employees and customers at appropriate times (say 5:00PM on the day before a job is scheduled)
  • Query and save GPS coordinates of employees when they are supposed to be out on jobs so that I can later verify that their positions were where they were supposed to be.

If the process fails (which it probably will, especially when updates are added), I need for it to be restarted immediately (or within just a few minutes) as I would have very serious problems if this process failed to send a notification, log a GPS coordinate, or any of the other tasks its meant to perform.

© Stack Overflow or respective owner

Related posts about c#

Related posts about ASP.NET