|
From: Russell B. <rb...@po...> - 2005-10-11 12:00:25
|
Unless I'm completely misunderstanding the instructions I assumed that the wrapper would constantly run and it would rerun my sub app on a desired time patter via wrapper.restart.delay. How ever my application starts up, runs once and the shuts down cleanly. Right now for testing tell my thread to just rerun 15 minutes after it ends, which doesn't seem right. To clarify, I want to basically run my java app every 15 minutes, but I want to run it as a service, because there is a large chuck of start up code/processing that I want to do once not 4 times an hour. Someone please help, yes I've searched the archives and help and found other similar questions that were either unanswered or had completely confusing ones that didn't seem to answer the actual question. Here is my configuration file. ---------------------------------------------------------------------------------------------- wrapper.java.command=D:\Java\jre_1.4.2\bin\java.exe wrapper.java.mainclass=com.POM.feedMonitor.Service wrapper.working.dir=D:\Java\Applications\FeedMonitor wrapper.console.format=PM wrapper.console.loglevel=DEBUG wrapper.logfile=D:/Java/Applications/FeedMonitor/wrapper.log wrapper.logfile.format=LPTM wrapper.logfile.loglevel=DEBUG wrapper.logfile.maxsize=0 wrapper.syslog.loglevel=NONE wrapper.console.title=Feed Monitor wrapper.ntservice.name=Feed_Monitor wrapper.ntservice.displayname=Feed Monitor wrapper.ntservice.description=Feed Monitor wrapper.ntservice.starttype=AUTO_START wrapper.ntservice.interactive=false wrapper.restart.delay=900 wrapper.ping.interval=15 ---------------------------------------------------------------------------------------------- |