During the propagation stage, lights should be left on as long as possible, up to 24 hours per day (big debate on this one). Strong initial growth will make the young plants healthier and more resistant to disease, ultimately providing better yields. As the plants begin to mature, however, light duration should be reduced.
Plants use periods of darkness, too. During dark periods, plants continue to take in oxygen and give off carbon dioxide in a process called respiration. During this time, the plant uses some of the energy that was stored as sugars during photosynthesis, producing proteins, hormones and other complex products. Therefore, lighting mature plants more than seventeen and a half hours per day will not increase production significantly, since photosynthesis will slow down after a certain number of hours. Keep the fans going during the off hours and make sure your controller is set to a certain humidity and temp. and all will be fine (hopefully).