4 Replies Latest reply on Dec 20, 2012 2:14 PM by Tony Herstell

    @Schedule delay before initial firing....

    Tony Herstell Master

      I have this:

       

      @Schedule(minute = "*/5", hour = "*", persistent = false) // every 5 mins

       

      But I want to have a delay before the first trigger fires.

       

      I have 2MB of data importing through Hiberantes import.sql.... which is taking some time.

       

      Is there a way??

       

      e.g.

      @Schedule(minute = "*/5", hour = "*", persistent = false, initial_delay_minute="10")