I run a cron job every day at midnight:
*cd public_html/tf2/tf/replays && find -mtime +7 -exec rm {} \;*
This will delete all files in the replay folder older than 7 days. Obviously
change the path to whatever your own path is and adjust the time to your
liking.
I'm a linux noob though, so there may be a more efficient way to do it.
On Sat, Oct 8, 2011 at 6:51 PM, m33crob <[email protected]> wrote:
> Hello Everyone,
>
> Does anyone have an easy way (script or something) to clean up old replay
> files. I tried using "replay_docleanup" which caused my server to become
> unresponsive and eventually crash. While viewing top, this command caused
> CPU usage to flat line at 101% usage and then I noticed that all players
> were kicked for STEAMAUTH error code 6 no Steam log on as seen here:
> http://tinypic.com/r/se663p/7
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlds_linux
>
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux