DX Unified Infrastructure Management

 View Only
  • 1.  Dirscan to delete logfiles

    Posted Nov 29, 2010 10:10 PM

    Want to use dirscan. Utililizing the "Directory Age" tab, and the "automatic action" command option. Looking for a way to delete all logfiles in a directory that are older than x days.



  • 2.  Re: Dirscan to delete logfiles
    Best Answer

    Posted Nov 30, 2010 04:12 PM

    All you really need is to setup a basic command to be called from the DirScan Probe, there are a ton of options for this, this one looks like a good fit.

     

    Also, maybe you could modify this one to work for you:

     

    http://forum.nimsoft.com/t5/Customer-Upload-Archive/Report-management-of-HTML-and-PNG-files/m-p/1694/highlight/true#M110

     

    Good luck!

     

    Dustin



  • 3.  Re: Dirscan to delete logfiles

    Posted Dec 09, 2010 09:10 PM

    Were there supposed to be 2 samples on your reply, or am i I misreading.

     

    Thanks



  • 4.  Re: Dirscan to delete logfiles

    Posted Dec 09, 2010 10:07 PM

    "ton of options" and "good fit" are hyperlinks. :smileywink:

     

    Dustin



  • 5.  Re: Dirscan to delete logfiles

    Posted Dec 12, 2010 12:22 AM

    Thanks, that did the trick