Felipe T Posted November 1, 2011 Share Posted November 1, 2011 Hey guys, is it possible to activate a routine to clean logs older than 7 days in C:\TCAFile\Users? Some Team Fortress 2 have too big .log files, and i'm having some problems with it... Link to comment Share on other sites More sharing options...
Jack Posted November 1, 2011 Share Posted November 1, 2011 Hey guys, is it possible to activate a routine to clean logs older than 7 days in C:\TCAFile\Users? Some Team Fortress 2 have too big .log files, and i'm having some problems with it... You can try and create a batch file and run it every 7 days? Link to comment Share on other sites More sharing options...
Felipe T Posted November 1, 2011 Author Share Posted November 1, 2011 Yes, i know... But I've got low knowledge to program it, so I wonder if TCAdmin v2 had some tool like this. Link to comment Share on other sites More sharing options...
LFA Posted November 1, 2011 Share Posted November 1, 2011 Create a bat with this command and configure it as a scheduled task in windows: forfiles -p "C:\TCAFile\Users" -s -m *.log -d -7 -c "cmd /c del @path"it will delete .log files older than 7 days. Link to comment Share on other sites More sharing options...
Felipe T Posted November 2, 2011 Author Share Posted November 2, 2011 Thanks LFA! This will be very usefull to me Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now