Link Between Cosmic Rays and Clouds on Different Time Scales