I don't have a straight answer to that, but will give you some thoughts.
* Roots can only absorb oxygen when they are wet or damp. So totally dry roots can not absorb oxygen anymore. This does not mean that the plant dies immediately, because there are some reserves in the plant. So, for that reason, keep your roots moist.
* An electrical or mechanical pump will always heat up the water. It can be just a little bit, but it will happen. If there is a temperature you want to maintain, that is something to consider. If your res is on a really cold floor, the heat of a pump can even be beneficial. But if your water becomes too warm, longer pump intervals could help.
* There are studies that show that the more times during a day the roots gets new water + nutrients, the better the yield (it was not a test on cannabis) So more floodings with short intervals > higher yield. The researchers thought that it had to do with the fact that water + nutrients + oxygen are available almost all the time. No overwatering, no overfeeding, no under-oxygenation. Everything is there for the roots when they need it.
Personally I think it will not matter that much in your case. Hahaha.
I mean every 15 or 20 minutes... not much of a difference. There will still be enough water + nutrients around the roots after 20 minutes. Probably also after 30 minutes. 2 hours without any medium is something else.
I was just really curious what made you decide that.