| Author |
Message |
|
|
I wanted to implement some alert mechanism some thing like email alert if there is any issue firing a trigger on schedule.
I will appreciate if you point me any docs related to this.
|
 |
|
|
In our application we are using log4j for logging , WebSphere application server 6.0 and Quartz 1.6
Till now we are not having any issue. As we wanted to have Tirigger hostory, trying use LoggingTriggerHistoryPlugin.
I added some entries to quartz.properies, created commons-logging.properties and modified log4j.xml
But still could not see any logging related to LoggingTriggerHistoryPlugin.
Added below lines in quartz.properties.
org.quartz.plugin.triggHistory.class = org.quartz.plugins.history.LoggingTriggerHistoryPlugin
org.quartz.plugin.triggHistory.triggerFiredMessage = Trigger {1}.{0} fired job {6}.{5} at: {4, date, HH:mm:ss MM/dd/yyyy}
org.quartz.plugin.triggHistory.triggerCompleteMessage = Trigger {1}.{0} completed firing job {6}.{5} at {4, date, HH:mm:ss MM/dd/yyyy} with resulting trigger instruction code: {9}
Created commons-logging.properties with below entries.
priority=1
org.apache.commons.logging.LogFactory=org.apache.c ommons.logging.impl.LogFactoryImpl
org.apache.commons.logging.Log=org.apache.commons. logging.impl.Log4JLogger
Added below entry in log4j.xml
<category name="log4j.logger.org.apache.component">
<priority value="DEBUG"/>
<appender-ref ref="RFILE"/>
</category>
Can anybody help me how to resolve this.
Thanks
Suresh
|
 |
|
|
I have a Job 2 which has to be fired after completion of Job 1. Can anybody tell me how to achieve this?
Thanks
Suresh
|
 |
|
|