Added if statement so that it won't send unless it's the right time
Changed yo time to be 5 minutes before rather than at the time of classes