On 1 Jun 2009 at 9:55, Ben Nordlander  wrote:

> I have several emails i get every day that notify when a job is finished;
> some of these emails come from legacy systems that don't allow much control
> for me. 
> 
> Does anyone know of a method to create some type of notification in Outlook
> (probably using rules) that would allow for some extra notification if one of
> these daily emails don't get sent to me? 
> 
> For instance, i receive a particular email from an email archive product
> every morning at 7:30am. But if i don't receive it; i would like to create
> some kind of rule that would implement an action of my choosing (even a
> script of my choosing) to notify me that i didn't receive that email today.
> This is especially useful if i'm not at a computer most of that day and i
> badly need to know about a missed job that my email archive didn't perform
> today. 

Sure, here's the logic, you'll have to manipulate it to work for your 
situation.

One of the Actions that Outlook can take when an email comes in is "run a 
script".  Create a script that creates a flag-file, and run that script when 
the archive email arrives:

  echo ARCHIVE EMAIL CAME IN>"%temp%\ARCHIVE.TXT"

Now create a scheduled task that runs every day at 7:45 AM.  Run a batch file 
that checks to see if "%temp%\ARCHIVE.TXT" exists.  If it exists, delete it and 
exit.  If it doesn't exist, use BLAT to send an email to you.  Here's an 
untested sample batch-file:

  if exist "%temp%\ARCHIVE.TXT" goto ItRan
  echo Archive didn't run > "%temp%\ARCHIVE.TXT"
  blat "%temp%\ARCHIVE.TXT" -to [email protected] -subject "No Archive"
  :ItRan
  del "%temp%\ARCHIVE.TXT"

Google or BING for BLAT, it's a very useful free tool.

HTH

A

--
Angus Scott-Fleming
GeoApps, Tucson, Arizona
1-520-290-5038
+-----------------------------------+




~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

Reply via email to