Hero of Alexandria
Hero of Alexandria described a mechanism for automating the process by using altar fires to force oil from the cups of two statues.