A quarantine tank is always a good idea… and a quarantine tank is meant to protect your fish from something the new fish may bring along… A UV light will reduce the importance of the need for a quarantine tank as the UV light will immediately start helping a new sick fish become healthier…
Based on personal experience, I do not believe the theory that using a UV light in any way reduces the immune system of a fish, although I understand the base idea this theory is built off of. In practical personal experience, I have raised a number of Blue Dempseys in tanks with UV lights… Blue Dempseys are known to be prone to parasitic infection when young. As adults, I keep them in tanks without UV lights. If this ‘raised in a bubble’ theory were accurate, the Blue Dempseys immune system would not strengthen but would instead get weaker. I’ve raised at least 5 Blue Dempseys in UV’ed tanks and later kept them in non UV’ed tanks as adults…
A fish’s defense against parasitic infection has a lot more to do with white blood cell count, not an immunity against a specific virus (such as your example with a common cold in humans)…
Running a UV light 12 hours on / 12 hours off is fine and should lengthen the life of the bulb. Do keep in mind that the action of igniting the bulb puts far more wear and tear on the bulb than extended use, so avoid turning it on more than once a day.