Is this the relevant code?
If it's not run every day, it will miss/skip earnings due to the INTERVAL '1 day' condition, possibly.
That's the code. It is run every day.
reply