Boy this is a much debated issue and every hobbyst will tell you differently. I leave mine on 24/7 but many reef hobbysts claim that so much UV is harmful to their reef systems.
If you basically have FO or FOWLR, leave it 24/7. If you have reef, then read up on the issues involving reefers concerns on this matter, then you can make an informed decision.