Reputation: 534
I would like to schedule a job to run every n
day where n is not 1 or 7. I know the syntax 0 0 */n * *
, but when I check for the next execution dates, it always runs on 1st of the next month, regardless of the n
day interval from the last month's run. Hence, the interval is not exactly n
days. How can I properly schedule this case?
Here is the example of this problem where it will execute two days consecutively if it the date is near the end of the month.
Upvotes: 0
Views: 464