clock for scheduled tasks