Delete Host Monitor Log Files

General chat about HostMonitor (all messages posted before March 07, 2003 available here).
Locked
blockamy
Posts: 6
Joined: Wed Oct 23, 2002 6:00 pm

Post by blockamy »

Do you have a method to automatically delete log files like 'delete log datasets over x days old' ?
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

No, you have to do this manually

Regards
Alex
Guest

Post by Guest »

We had the same problem(LOG-files on servers, tmp-files etc.) and couldn't find a program that served our needs. Therefore a colleague programmed a little tool which works commandline-oriented.
If you are interested i could send it by email.
User avatar
Marcus
Posts: 367
Joined: Mon Nov 18, 2002 6:00 pm

Post by Marcus »

You can use the forfiles.exe from the resource kit and delete files older than a specified date.
Locked