Quartz Document and Wiki - Contradict on Cron Expression for Day of Month field -


here in wiki

http://en.wikipedia.org/wiki/cron_expression#cron_expression

under subheading "predefined scheduling definitions"

its mentioned "day of week (0 - 7) (0 or 7 sunday, or use names)"

its referring 0 or 7 sunday

and under subheading "cron expression"

its referring "the last friday" ("5l") of given month. in day-of-month field,

but quartz documentation

here http://quartz-scheduler.org/documentation/quartz-2.1.x/tutorials/crontrigger

contradicts things saying

"day of week 1-7 or sun-sat" (its not 0-7 mentioned in wiki)

and in special characters subheading

its referring "6l" means "the last friday of month" (in wiki 5l)

so question is

  1. which 1 correct ?
  2. are both of these correct in own context ? (meaning quartz quartz , in wiki unix based os)

yes both correct. wikipedia article refers cron implemented in unix , derivatives.

the quartz scheduler has it's own "cron like" implementation not compatible.

i use day of week names in expression avoid confusion.


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -