You need to sign in to do that
Don't have an account?
MarinaMartin
Scheduled job day of week syntax
Hi,
I'm stumped on how to get my scheduled job to run every Monday and Thursday starting on the SECOND Monday in the months of March, June, September, and December.
I tried
String sch = '0 0 8 ? MAR,JUN,SEP,DEC 2#2,2#3,2#4,2#5,5#2,5#3,5#4,5#5';
Through trial and error, this works fine except for the day of the week section. It only seems to recognize the first 2#2, and not the rest of them. Is there a way to combine them properly? Or would I have to schedule this 8 separate times?
Thanks in advance for any insight.