How to notify a person when this goes down?
<p>I made a simple notifier command line application in C#. Basically I use the windows task scheduler and set it up to run this command line application at a certain time.</p>

<p>When this time is hit the command line application is ran all notifications are grabbed from a database(using linq to sql) formatted and sent by smtp to the right people.</p>

<p>Now how should I handle these scenarios</p>

<ol>
<li>A database error occurs</li>
</ol>

<p>Solution: Send a email to the admin to notify them that it failed and to check it out.</p>

<ol>
<li>A smtp error occurs</li>
</ol>

<p>Solution: ?????</p>

<p>So these are really the two things that could go wrong. There could be different combination's of this.</p>

<p>Database error might occur and and smtp might occur too, Or only one or the other might occur.</p>

<p>So how to get this information to an admin or someone so they can fix it. I highly doubt that an admin would go and check every single day to see if the notification thing worked or not.</p>

<p>So basically how to make it fail safe or at least make it so that if something goes wrong a admin can come fix and it and just run the notifier manually and get everything back in sync.</p>
