the timer would shut on/off whatever is plugged into it.
keep your aerogarden plugged in. you can get a cord from radio shack or some equivalent store, I forget the name, figure 8 or something along those lines, that will plug directly into the light socket of the AG lights. you just unplug...