Last Thursday I systematically changed the two numbers at the end of this part of the script using combinations of 0's, 1's, and 2's:
where mod(to_char(sysdate,'IW'),2)=0
I found that ,2)=1 resulted in no action being performed (in my case an email didn't get sent out)
I also found that ,2)=0...