I currently have a script that will delete files after a given time
period. I would like to incorporate logging to to see what files have
been deleted when the script runs. Any help would be most appreciated.



*** Sent via Developersdex http://www.developersdex.com ***

Re: Logging FIle Deletions by Pegasus

Pegasus
Sun Mar 16 13:24:50 CDT 2008


"Al Hall" <al@hall.net> wrote in message
news:ee%23j3q4hIHA.3352@TK2MSFTNGP04.phx.gbl...
>I currently have a script that will delete files after a given time
> period. I would like to incorporate logging to to see what files have
> been deleted when the script runs. Any help would be most appreciated.
>

Might be a good idea to post the script that deletes your files.



RE: Logging FIle Deletions by CoreyThomasMCSEMCSAMCDBA

CoreyThomasMCSEMCSAMCDBA
Mon Mar 17 09:27:01 CDT 2008

You've got lots of options.

1. Write the deletions to a text file.
2. Write the deletions to the event log
3. Write the deletions to a local/remote database

What is the end result you are looking for?

-Corey


"Al Hall" wrote:

> I currently have a script that will delete files after a given time
> period. I would like to incorporate logging to to see what files have
> been deleted when the script runs. Any help would be most appreciated.
>
>
>
> *** Sent via Developersdex http://www.developersdex.com ***
>