This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

My Schedular was sleeping

 
NisumSandeep Jakkaraju
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All

Please find below the log of my schedular:

<bean id="agentConfigTrigger"
class="org.springframework.scheduling.quartz.SimpleTriggerBean">
<!-- see the example of method invoking job above -->
<property name="jobDetail" ref="agentConfigJobDetail" />
<!-- 10 seconds -->
<property name="startDelay" value="10" />
<!-- repeat every 5 minutes -->
<property name="repeatInterval" value="60000" />
</bean>



and log




2010-07-12 07:34:06,025 INFO [com.kerio.ci.scheduler.agentconfig.job.TransferAgentConfigJob] Fetching Agent config...

2010-07-12 07:34:06,035 INFO [com.kerio.ci.scheduler.agentconfig.dao.TransferAgentConfigDAO] Agentconfig List Size:0

2010-07-12 07:34:06,035 INFO [com.kerio.ci.scheduler.agentconfig.job.TransferAgentConfigJob] Completed Agent Config. 10

2010-07-12 07:35:06,024 INFO [com.kerio.ci.scheduler.agentconfig.job.TransferAgentConfigJob] Fetching Agent config...

2010-07-12 07:35:06,035 INFO [com.kerio.ci.scheduler.agentconfig.dao.TransferAgentConfigDAO] Agentconfig List Size:0

2010-07-12 07:35:06,035 INFO [com.kerio.ci.scheduler.agentconfig.job.TransferAgentConfigJob] Completed Agent Config. 11

2010-07-12 07:36:06,030 INFO [com.kerio.ci.scheduler.agentconfig.job.TransferAgentConfigJob] Fetching Agent config...

2010-07-12 07:36:06,040 INFO [com.kerio.ci.scheduler.agentconfig.dao.TransferAgentConfigDAO] Agentconfig List Size:0

2010-07-12 07:36:06,041 INFO [com.kerio.ci.scheduler.agentconfig.job.TransferAgentConfigJob] Completed Agent Config. 11

2010-07-12 07:37:06,025 INFO [com.kerio.ci.scheduler.agentconfig.job.TransferAgentConfigJob] Fetching Agent config...

2010-07-12 07:37:06,035 INFO [com.kerio.ci.scheduler.agentconfig.dao.TransferAgentConfigDAO] Agentconfig List Size:0

2010-07-12 07:37:06,035 INFO [com.kerio.ci.scheduler.agentconfig.job.TransferAgentConfigJob] Completed Agent Config. 10

2010-07-12 08:51:06,028 INFO [com.kerio.ci.scheduler.agentconfig.job.TransferAgentConfigJob] Fetching Agent config...

2010-07-12 08:51:06,153 INFO [com.kerio.ci.scheduler.agentconfig.dao.TransferAgentConfigDAO] Agentconfig List Size:31

2010-07-12 08:51:06,153 INFO [com.kerio.ci.scheduler.agentconfig.dao.TransferAgentConfigDAO] CustomerId:1

2010-07-12 08:51:06,153 INFO [com.kerio.ci.scheduler.agentconfig.dao.TransferAgentConfigDAO] AgentId:563

2010-07-12 08:51:06,154 INFO [com.kerio.ci.scheduler.agentconfig.dao.TransferAgentConfigDAO] ConfigName:Apps

2010-07-12 08:51:06,154 INFO [com.kerio.ci.scheduler.agentconfig.dao.TransferAgentConfigDAO] CustomerId:1

2010-07-12 08:51:06,154 INFO [com.kerio.ci.scheduler.agentconfig.dao.TransferAgentConfigDAO] AgentId:563

2010-07-12 08:51:06,154 INFO [com.kerio.ci.scheduler.agentconfig.dao.TransferAgentConfigDAO] ConfigName:ParamConfig

2010-07-12 08:51:06,154 INFO [com.kerio.ci.scheduler.agentconfig.dao.TransferAgentConfigDAO] CustomerId:1

2010-07-12 08:51:06,154 INFO [com.kerio.ci.scheduler.agentconfig.dao.TransferAgentConfigDAO] AgentId:563

2010-07-12 08:51:06,154 INFO [com.kerio.ci.scheduler.agentconfig.dao.TransferAgentConfigDAO] ConfigName:ParamConfig

2010-07-12 08:51:06,154 INFO


Can anyone one tell me what happened in this hour ?

I still dont know what you did on that hour.
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Was the service down or something ? At 08:51, there are 31 records fetched. The previous fetch, 0 records. What happened in between ?

I still dont know what you did on that hour.

I was at the office
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And by the way, the comments in agentConfigTrigger are not correct. These are 10 milliseconds, and 1 minute.
 
NisumSandeep Jakkaraju
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes that is my concern it should run every 1 minute and there is no log between those 2 timestamps
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What kind of application is this ? Is it running on a server ? If yes, check the server logs.
 
NisumSandeep Jakkaraju
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sir it is a console application.
There other jobs also running on the same machine for which I can see the logs during that period.
This application also was not down during that period. It is still up and running.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic