Skip to content

Commit

Permalink
Fix Cron.MonthInterval method to return correct expression
Browse files Browse the repository at this point in the history
  • Loading branch information
odinserj committed Dec 21, 2016
1 parent 3bf7a8b commit 1176fe1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Hangfire.Core/Cron.cs
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ public static string DayInterval(int interval)
/// <param name="interval">The number of months to wait between every activation.</param>
public static string MonthInterval(int interval)
{
return $"0 0 0 */{interval} *";
return $"0 0 1 */{interval} *";
}

#if NETFULL
Expand Down

0 comments on commit 1176fe1

Please sign in to comment.