Groupmax Address/Mail Version 6 システム管理者ガイド ユティリティ編
![[目次]](figure/content.gif)
![[索引]](figure/index.gif)
![[前へ]](figure/front.gif)
runacctが出力する稼働情報ファイルを削除します。cronに次のように設定すると毎日10時にfindコマンドが実行され,常に最新21日分の情報だけが保管されます。20の部分を変更することで保管日数を変更できます。
0 10 * * * find /usr/adm/acct/sum -ctime +20 -exec rm -f {} \;
0 10 * * * find /usr/adm/acct/nite -ctime +20 -exec rm -f {} \;
0 10 * * * find /usr/adm/ -type f -name 'pacct[1-9][0-9]*' -ctime +20 -exec rm -f {} \;
All Rights Reserved. Copyright (C) 2001, 2003, Hitachi, Ltd.