Starting motor for 5 seconds after 30 minutes, turning it off and start in reverse direction after 30 minutes
Of course you can make this without a microcontroller, using radio tubes if it must be. (but it hurts my brains)

I think a CMOS 555 can make a 5 seconds once each 30 minutes pulse (check the datasheet), then use a divider to create the direction. 

You did not provide details about the motor, so I can't advise on how to control it. You are switching direction very infrequently, so a relay would eb a simple solution. Maybe even use a second relay to switch the motor on or off.