There is no need to keep the refugium light on 24/7. And leaving some periods of darkness is recommended by many aquarists. So it is best to leave it on for 10-12 hours or keep it off when the display tank’s light is on.