This an interesting article about how Jupiter's erratic orbit causes a 179 year cycle of warming and cooling.
"The sun's own orbit, he found, has eight characteristic patterns, all determined by Jupiter's position relative to Saturn, with the other planets playing much lesser roles. Some of these eight have orderly orbits, smooth and near-circular. During such orbits, solar activity is high and Earth heats up. Some of the eight orbits are chaotic, taking a loop-the-loop path. These orbits correspond to quiet times for the sun, and cool periods on Earth. Every 179 years or so, the sun embarks on a new cycle of orbits. One of the cooler periods in recent centuries was the Little Ice Age of the 17th century, when the Thames River in London froze over each winter. The next cool period, if the pattern holds, began in 1996, with the effects to be felt starting in 2010. Some predict three decades of severe cold."