i would think this is like...the wheel. but i can't find anything, and i'm
not a coder.

i just need a tiny script i can run with task scheduler that will check to
make sure that:

1. a file was written in the last 24 hours
2. it's not locked for writing
3. it's larger than zero

email to a specified address if any of the above fail with the message
'Backup service is hung, and the bloody bugger won't email of it's own
volition when it does that.' Or something of that ilk anyway.

:P

can anyone point me in the right direction, or help a girl out?

Thanks!

peace,
pen
---
Life is short.
Break the rules.
Run towards your fears.
Forgive quickly.
Love truly.
Laugh uncontrollably.
Kiss slowly.
Above all, never regret anything that made you smile.

Re: need a tiny backup monitor script i can execute with task scheduler? by Penelope

Penelope
Sun Jun 17 21:24:56 CDT 2007

By 'a file' I mean 'there are files that exist in this directory, with
timestamps less than 24 hours ago'.

Not like 'The file named XXXXX'

(It's an incremental, the filename will change, as will the extension.)

peace.
pen

---
Life is short.
Break the rules.
Run towards your fears.
Forgive quickly.
Love truly.
Laugh uncontrollably.
Kiss slowly.
Above all, never regret anything that made you smile.
"Penelope Baker" <penelope_baker@hotmail.com> wrote in message
news:4675d046$0$6706$9a6e19ea@unlimited.newshosting.com...
>i would think this is like...the wheel. but i can't find anything, and i'm
>not a coder.
>
> i just need a tiny script i can run with task scheduler that will check to
> make sure that:
>
> 1. a file was written in the last 24 hours
> 2. it's not locked for writing
> 3. it's larger than zero
>
> email to a specified address if any of the above fail with the message
> 'Backup service is hung, and the bloody bugger won't email of it's own
> volition when it does that.' Or something of that ilk anyway.
>
> :P
>
> can anyone point me in the right direction, or help a girl out?
>
> Thanks!
>
> peace,
> pen
> ---
> Life is short.
> Break the rules.
> Run towards your fears.
> Forgive quickly.
> Love truly.
> Laugh uncontrollably.
> Kiss slowly.
> Above all, never regret anything that made you smile.
>



Re: need a tiny backup monitor script i can execute with task scheduler? by mr_unreliable

mr_unreliable
Mon Jun 18 13:13:25 CDT 2007

Penelope, you can probably get what you want from the wsh
file system object (fso).

Try attaching the file for writing. If you get an error,
it is most likely locked.

The DateLastModified property of the file object will tell
you when the file was written, and the size property of
the file object will tell you the size (gasp!).

You can generate an eMail message (to yourself?) using
the CDO object. There are several examples in this ng
of how to do this. Use google advanced group search to
find them.

http://groups.google.com/advanced_group_search

cheers, jw
____________________________________________________________

You got questions? WE GOT ANSWERS!!! ..(but,
no guarantee the answers will be applicable to the questions)


Penelope Baker wrote:
> i would think this is like...the wheel. but i can't find anything, and i'm
> not a coder.
>
> i just need a tiny script i can run with task scheduler that will check to
> make sure that:
>
> 1. a file was written in the last 24 hours
> 2. it's not locked for writing
> 3. it's larger than zero
>
> email to a specified address if any of the above fail with the message
> 'Backup service is hung, and the bloody bugger won't email of it's own
> volition when it does that.' Or something of that ilk anyway.
>
> :P
>
> can anyone point me in the right direction, or help a girl out?
>
> Thanks!
>
> peace,
> pen
> ---
> Life is short.
> Break the rules.
> Run towards your fears.
> Forgive quickly.
> Love truly.
> Laugh uncontrollably.
> Kiss slowly.
> Above all, never regret anything that made you smile.
>

Spoken like a true disciple of the Haight.

Re: need a tiny backup monitor script i can execute with task scheduler? by S

S
Tue Jun 19 11:51:06 CDT 2007

and if its not locked, opening it for writing will immediately wipe it out!
bad idea...


"mr_unreliable" <kindlyReplyToNewsgroup@notmail.com> wrote in message
news:ObrcIQdsHHA.1212@TK2MSFTNGP05.phx.gbl...
> Penelope, you can probably get what you want from the wsh
> file system object (fso).
>
> Try attaching the file for writing. If you get an error,
> it is most likely locked.
>
> The DateLastModified property of the file object will tell
> you when the file was written, and the size property of
> the file object will tell you the size (gasp!).
>
> You can generate an eMail message (to yourself?) using
> the CDO object. There are several examples in this ng
> of how to do this. Use google advanced group search to
> find them.
>
> http://groups.google.com/advanced_group_search
>
> cheers, jw
> ____________________________________________________________
>
> You got questions? WE GOT ANSWERS!!! ..(but,
> no guarantee the answers will be applicable to the questions)
>
>
> Penelope Baker wrote:
>> i would think this is like...the wheel. but i can't find anything, and
>> i'm not a coder.
>>
>> i just need a tiny script i can run with task scheduler that will check
>> to make sure that:
>>
>> 1. a file was written in the last 24 hours
>> 2. it's not locked for writing
>> 3. it's larger than zero
>>
>> email to a specified address if any of the above fail with the message
>> 'Backup service is hung, and the bloody bugger won't email of it's own
>> volition when it does that.' Or something of that ilk anyway.
>>
>> :P
>>
>> can anyone point me in the right direction, or help a girl out?
>>
>> Thanks!
>>
>> peace,
>> pen
>> ---
>> Life is short.
>> Break the rules.
>> Run towards your fears.
>> Forgive quickly.
>> Love truly.
>> Laugh uncontrollably.
>> Kiss slowly.
>> Above all, never regret anything that made you smile.
>
> Spoken like a true disciple of the Haight.


Re: need a tiny backup monitor script i can execute with task scheduler? by mr_unreliable

mr_unreliable
Tue Jun 19 12:09:44 CDT 2007



S Moran wrote:
> and if its not locked, opening it for writing will immediately wipe it
> out! bad idea...
>
Thanks for the advice.

I had always thought that the file didn't get wiped until
you actually wrote to it.

cheers, jw