I also have a custom VB exe app that does something similar. It can check for the file dated today or within the last hour. I started looking at converting this to a COM object, but haven't gotten that far yet.
Mike
| "Peter Hoermann"
<[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED] 01/31/2005 06:07 AM
|
|
Thanks for the tip Gene. This app link was a little more than what I was
after.
I got one of my in-house developers to write me an exe for this, and I run it
as an external check returning a 0 value if the file exists with a created or
modified date of today, and a 1 if no file exits in the dir with a date of
today
Peter
peter hoermann >< electronics for imaging bv. >
< NL +31 20 658 8092 >< UK +44 20 8476 7689 >< DE +49 2102 745 4489 >< FR +33
1 4179 0002 >
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of gene Martinez
Sent: Thursday, 27 January 2005 21:45
To: [email protected]
Subject: RE: [SA-list] Checking the existence of file with created date of
today
Take a look at Log Monitor @
http://logmon.bitrix.ru/logmon/eng/
See it this does what your looking for...
>Subject: [SA-list] Checking the existence of file with created date of
>today
>
>All
>
>Anyone got any ideas how I can check for the existence of a file in a
>directory with a creation date of today?
>
>I would like to check that a scripted backup has run, and the file
>creation date of the backup file would be the current day. The
>filename will be different each day.
>
>So a down entry sent if no file with a created date of today exists in
>the directory, and an up if it exists.
>
>Peter
>
Regards,
Gene
[EMAIL PROTECTED]
http://www.eclipse.net/~njkat
