The long-term millimeter activity of active galactic nuclei