check deadline with whenever