Run job if DB returns value

View: New views
1 Messages — Rating Filter:   Alert me  

Run job if DB returns value

by Wesley Hartford :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

HI,
    I need to run the job if db returns value. I am using quartz for running my job for every 5 seconds. But i dont want to execute the job if there is no value in the DB. Is there any way to check the DB before it starts the job.
Thanks,
Avinash
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=483136&messageID=572497#572497


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...

LightInTheBox - Buy quality products at wholesale price!