I baited them with dry dog food and even had them eating out of a cut off 5 gal. bucket, so I'm sure it would work with a dispensing timer. It won't get maggot infested like other bait can in warm or hot weather.
MDGC0092 by Double Up, on Flickr
MDGC0003 by Double Up, on Flickr