make a daylight only wildlife feeder?

I want to create a feeder such as a tub with quarter inch mash on top and a motor in a timer that slides the mesh off at daylight and slides it closed at dusk. I want to attempt to train the local wildlife to show up during the day. a timer would work as well but I'm not sure how to set a motor to open and close the lid.

Or you could use an automatic feeder that just dispenses food ata certain hour like this: