Hello,
How do you schedule a job to run every 1st and 3rd Sunday? With cron, if you use day of the month and day of the week, the two are ORed together. i.e.
00 02 1-7 * 0 /oracle/local/bin/rebuildndx.ksh krntest
00 02 15-21 * 0 /oracle/local/bin/rebuildndx.ksh krntest
will run every day of the month from 1 to 7 (either 1-7 or Sunday) and 15-21. And therefore won't work for my purpose.
Appreciate your input.
How do you schedule a job to run every 1st and 3rd Sunday? With cron, if you use day of the month and day of the week, the two are ORed together. i.e.
00 02 1-7 * 0 /oracle/local/bin/rebuildndx.ksh krntest
00 02 15-21 * 0 /oracle/local/bin/rebuildndx.ksh krntest
will run every day of the month from 1 to 7 (either 1-7 or Sunday) and 15-21. And therefore won't work for my purpose.
Appreciate your input.