If tomcat is down

For instance, on an on-premise instance if tomcat is not running and an task is scheduled at the same time so, how will we know if the task is completed after server is back online?