2 Replies Latest reply on Apr 9, 2009 2:42 AM by toppac.toppac.gmail.com

    IntervalCron syntax

    toppac.toppac.gmail.com

      Trying to make my IntervalCron expression work and I am noticing it seems to be off. I am using the expression



      10 14 * * * ?



      With the desired goal to have it execute at 2:10pm every day. But instead it seems to execute at 14 past the hour, every hour. Am I off in the my syntax? Just to test I changed the pattern to



      10 55 * * * ?




      And it executed at 55 past the hour. From the cron documenation it should be



      # .---------------- minute (0 - 59) 
      # |  .------------- hour (0 - 23)
      # |  |  .---------- day of month (1 - 31)
      # |  |  |  .------- month (1 - 12) OR jan,feb,mar,apr ... 
      # |  |  |  |  .---- day of week (0 - 6) (Sunday=0 or 7)  OR sun,mon,tue,wed,thu,fri,sat 
      # |  |  |  |  |
      # *  *  *  *  *  command to be executed



      What am I missing here? Is there a seconds field in there now as well?