changed ADMIN_restart_roll_logs.pl to remove depricated log locations.
git-svn-id: svn://192.168.202.10@134 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
@@ -18,18 +18,6 @@ $now_date_epoch = time();
|
||||
$now_date = "$year-$mon-$mday---$hour$min$sec";
|
||||
|
||||
|
||||
print "rolling AST_update log...\n";
|
||||
`mv -f /home/cron/LOG_AST_update.log /home/cron/LOGS/LOG_AST_update.log.$now_date`;
|
||||
|
||||
print "rolling MSAST_update log...\n";
|
||||
`mv -f /home/cron/MSLOG_AST_update.log /home/cron/LOGS/MSLOG_AST_update.log.$now_date`;
|
||||
|
||||
print "rolling LIAST_update log...\n";
|
||||
`mv -f /home/cron/LILOG_AST_update.log /home/cron/LOGS/LILOG_AST_update.log.$now_date`;
|
||||
|
||||
print "rolling VDAST_update log...\n";
|
||||
`mv -f /home/cron/VDLOG_AST_update.log /home/cron/LOGS/VDLOG_AST_update.log.$now_date`;
|
||||
|
||||
print "rolling Asterisk messages log...\n";
|
||||
`mv -f /var/log/asterisk/messages /var/log/asterisk/messages.$now_date`;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user