Suggestions for turning solenoid on/off variable 50-300 time per minute

Looking for suggestions to control solenoid 24VDC 10 watts variable times per minute. I can usually co-opt something automotive or HVAC or such.
This time I'm drawing a blank. Would really appreciate any suggestions. Was considering a set of points in a automotive distributor with a stepper
driving it. Surely there's an easier way. . .
 
Top