views:

26

answers:

0

Hye everybody
I encountered a problem in my application and finding now way around. I had made an service to run on jboss middleware server with a cron scheldule for executing at 8 pm everyday which is like this 0 0 20 * * ? and the service get started normally the java code for the service also worked well when executed as java app by fetching email address from a mysql db with hibernate. But I came to know that the service is sending a duplicate mail at the same time on consecutive day to addresses fetched from db filtered by a criteria fulfilled once in 24 hr only. I can't able to figure out what went wrong, I thoroughly checked db and code which was running with an sql query using ADDDATE() and DATE() function and sure about its and jboss server's functionality still I m seeking any possible cause of it so please suggest any area where I can look for this malfunctioning.Thanks in advance.
regards
la_89ondevg