Showing results for 
Search instead for 
Did you mean: 

Run command when errors.log file rotates

I would like to run a simple 1 line command when webwasher rotates the errors.log file.  I know the script that does all this is /opt/webwasher-csm/bin/wwlogmanager.rb

but its written in ruby and I haev no idea how to read this and where to even start.  I have written a sh script to do what I want to ideally all i need to put into the wwlogmanager.rb is the call to run my script.  Yes I am aware that these changes could be lost during an upgrade but I can handle this.

Any help?

0 Kudos