angad jha wrote: <!-- Scheduling config -->
<import resource="scheduling-context.xml" />
I have already added these line in my spring 2.5 dispatcher-servlet.xml file .
Thanks
Why do you keep saying 2.5 if you are using Spring 3. Which are you using Spring 3 or Spring 2.5? If you are using Spring 2.5 that is a problem. If you are using Spring 3 are you defining the scheduler in the root context? It belongs there not in the
servlet context.
Is com.java.db.MessageSheduler the fully qualified path to the correct class? if so Scheduler is spelled wrong. Also does it contain a method called createCSVMail?
Also try changing your cron to fire every 5 minutes so you can verify everything else works and then try to get fancier with the cron