cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
815
Views
0
Helpful
2
Replies

logrot-- help required

mohsin.khan
Level 3
Level 3

Hi,

i have created a scheduled task for logrot, as indicated in the online help.. But it has been failing to get the desired result, i.e. to reduce/rotate the log files...

In scheduled task window, it show result=0x2, ( i searched for this and found that this is the result that the associated script, [in this case logrot.pl] generates, which mean "File Not Found", but i have copy pasted the links in exporer window which lead me to the desired file..

here are my logrot.conf file's contents..

"

var backup_dir = d:\logback

c:\progra~1\CSCOpx\log\syslog.log 7 5120

c:\progra~1\CSCOpx\log\aniserver.log 5 1024

C:\PROGRA~1\CSCOpx\lib\jrun\jsm-cw2000\logs\stderr.log 3 1024

C:\PROGRA~1\CSCOpx\lib\jrun\jsm-cw2000\logs\stdout.log 3 1024 "

2 Replies 2

Joe Clarke
Cisco Employee
Cisco Employee

How did you schedule logrot.pl?

at 06:00 /every:M,T,W,Th,F,S,Su C:\progra~1\CSCOpx\bin\perl.exe C:\progra~1\CSCOpx\bin\logrot.pl

i guess, it was my bad, because today my syslog file got rotated.. it seems that it got oversized after the schuled time..

thanks for your concern...