10-10-2007 08:46 PM
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 "
10-11-2007 08:18 AM
How did you schedule logrot.pl?
10-11-2007 07:43 PM
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...
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: