Win a copy of Machine Learning Systems: Designs that scale this week in the Scala forum
or Xamarin in Action: Creating native cross-platform mobile apps in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Timer in Weblogic  RSS feed

 
Ranch Hand
Posts: 431
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can we do task scheduling in WebLogic 8.1?...I'm having a scenario like this...i need to run a java file/servlet at a fixed time (say 8:00AM) every day...is it possible to do that / configure that in WebLogic?
 
S.L.Narayanan
Ranch Hand
Posts: 431
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I can always write a stand alone java program which can do the above mentioned task..but it would be better if i can configure that in the server itself...
 
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can do that by registering the class that you need to run at a given time. This can be done using the weblogic console. Lookup for Startup and Shutdown (Under 'Your Deployed Resources').

Hope this helps.
 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Narayanan,
did u succeed in achieving the timer task? I am curious as I am working on similar stuff.

Thanks
Shashi
 
Create symphonies in seed and soil. For this tiny ad:
Rocket Oven Kickstarter - from the trailboss
https://coderanch.com/t/695773/Rocket-Oven-Kickstarter-trailboss
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!