added a scheduler that can keep track of and start daily tasks