Timer for various tasks.