task checking for schedule