[cod] Automated gamelog rotate

Sido - Callofduty.pl sido.cod at gmail.com
Tue Mar 25 11:38:24 EDT 2008


thnx for help.
2008/3/25, Koral <koral_wz at epf.pl>:
>
> 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
>
> ---
> To unsubscribe, send a blank email to cod-unsubscribe at icculus.org
> Mailing list archives: http://icculus.org/cgi-bin/ezmlm/ezmlm-cgi?38
>
>
>


-- 
http://www.callofduty.pl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://icculus.org/pipermail/cod/attachments/20080325/4f1426b9/attachment.htm>


More information about the Cod mailing list