For the time being let's assume I don't want to go with cron job type approach. Thanks.
Originally posted by Ulf Dittmer:
I'm still not clear on what you're asking. The task will be triggered at the time you set it up to be triggered. In a web app, you would do this in the contextInitialized method of a ServletContextListener. If the app is shut down, the task will run no more until the app is restarted/redeployed.
So if the web app is up running then everything is fine. Suppose I schedule it to run at 8AM daily. Around 6AM today the app is shutdown and it was restarted at 9AM today. So when it restarts, will it skip today's scheduled run and run again tomorrow at 8AM ?