Skip to content

Commit

Permalink
AfterRunFail event added to ITask
Browse files Browse the repository at this point in the history
  • Loading branch information
justdmitry committed Jul 15, 2016
1 parent b85e6f1 commit 7af6042
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions src/RecurrentTasks/ITask.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ public interface ITask
/// </remarks>
TimeSpan Interval { get; set; }

/// <summary>
/// Raises when exception catched during task run.
/// </summary>
event EventHandler<ExceptionEventArgs> AfterRunFail;

/// <summary>
/// Start task (first run is delayed for 10-30 sec)
/// </summary>
Expand Down
4 changes: 2 additions & 2 deletions src/RecurrentTasks/project.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"version": "2.3.0",
"version": "2.4.0",
"title": "RecurrentTasks",
"copyright": "Dmitry Popov, 2016",
"packOptions": {
"summary": "RecurrentTasks for .NET allows you to run simple recurrent background tasks with specific intervals, without complex frameworks, persistance, etc...",
"tags": [ "task", "job", "recurrent", "recurring", "aspnetcore" ],
"owners": [ "Dmitry Popov" ],
"releaseNotes": "Dependencies upgraded to 1.0.0 RTM",
"releaseNotes": "AfterRunFail event added to ITask",
"licenseUrl": "https://github.com/justdmitry/RecurrentTasks/blob/master/LICENSE",
"projectUrl": "https://github.com/justdmitry/RecurrentTasks",
"repository": {
Expand Down

0 comments on commit 7af6042

Please sign in to comment.