commit to handle condition when user enters no date for one time scheduling