Does this cron expression mean every other Sunday?
楼主#更多 发布于：2016-05-16 10:53
Does the following cron expression mean "execute every other Sunday?" 0 0 3 ? * 2/1 *
I'm trying to use it with the Spring Quartz scheduler.
The expression you are asking about fires at 3 am Monday to Saturday. From the Quartz Javadoc you could try using the two expressions 0 0 3 ? * 1#1 * and 0 0 3 ? * 1#3 * to execute on the 1st and 3rd Sundays of the month. The D#N syntax lets you pick the Nth day D of the month.