I written a quartz scheduler using the spring framework. What I want to know is that how should I keep the scheduler up and running all the time? The scheduler will start when I run the java application and is kept alive as long as the app is not shut down. But then what if the server that hosts this application suddenly dies down due to power surge and other possible mayhems? Is it possible to automatic restart the application when the server is restarted?
FYI the app is going to be hosted on both windows and unix server. Thanks in advance.
The scheduler will be back on when your Spring application starts again. So the problem seems more related to how your program is going to restart. Like kicking it at Windows' startup. It doesn't seem to be a Spring related problem, does it ?
Joined: Nov 10, 2005
actually it's a standalone application. So how can I restart it back automatically? Is it even possible? Coz it's always like "oh shit the job's not running because of power surge blah blah blah, we have to restart it back" (the It support said).
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com