[cod] Automated gamelog rotate
Koral
koral_wz at epf.pl
Tue Mar 25 08:39:00 EDT 2008
Hi
Maybe this script will help you
#!/bin/bash
data=`date +%Y-%m-%d`
mv /home/cod24/.callofduty4/main/games_mp.log
/home/cod24/.callofduty4/main/games_mp_$data.log
next add to corntab 01 0 * * * USER /path to script
Hi,
Is it possible to set up an automate game log rotating?
For example: single log file on every day.
games_mp_[date].log
How you change log file names? Only by by hand, making changes in cfg file?
--
http://www.callofduty.pl
More information about the Cod
mailing list