If you keep records over the decades, you can predict it. It's just a pattern, not an understanding. It wasn't until the last century, however, that the application of math to the precise orbits was able to predict the track of an eclipse very accurately.