Alert function of the task deadline