create a curve. select the object, shift select the curve. In the animation menu, under curves, attach to curve. In the options you can set the start and stop keys for timing.