Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Community Member

logrot-- help required

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
Cisco Employee

Re: logrot-- help required

How did you schedule logrot.pl?

Community Member

Re: logrot-- help required

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...

158
Views
0
Helpful
2
Replies
CreatePlease to create content