diff --git a/Tranga/TrangaTask.cs b/Tranga/TrangaTask.cs index 8c03b5a..4888044 100644 --- a/Tranga/TrangaTask.cs +++ b/Tranga/TrangaTask.cs @@ -101,6 +101,10 @@ public abstract class TrangaTask { this.lastExecuted = DateTime.Now; this.state = ExecutionState.Success; + }else if (statusCode is HttpStatusCode.NotFound) + { + this.state = ExecutionState.Waiting; + this.lastExecuted = DateTime.MaxValue; } else {