I do it like you describe, connected to the lights. Why not 30 min before and after?
When the lights kick on, plants don't IMMEDIATELY start to photosynthesize. It's a process that starts slowly. I think. Plus, over night plants actually emit CO2 due to respiration. Depending on other things like surface agitation etc there might be a bit of an accumulation during the nighttime, something to feed on for your plants when they wake up and CO2 injection is just starting to kick in.
Just a different opinion... I know some think algae hell breaks lose if the CO2 level isn't up to max when lights kick in... just depends on your particular tank and circumstances.