[Logo] Terracotta Discussion Forums (LEGACY READ-ONLY ARCHIVE)
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
[Expert]
Messages posted by: sic  XML
Profile for sic -> Messages posted by sic [1]
Author Message
Hello,

Actualy i dont know if this has been asked before, but is there any way to re-schedule a job after a JobExcecutionException?

i have a job that runs everyday at 7:00, but sometimes the server is down, or the data is not ready, so i want the job to wait 5 min before its runs again, in either cases it throws an exception, and i catch the Exception and throws an JobExecutionException with the RefireImmediately to true, is there a way to make the job wait x time before it will be refired ?

Tks in advance

 
Profile for sic -> Messages posted by sic [1]
Go to:   
Powered by JForum 2.1.7 © JForum Team