From 1176fe1451eba8045d455644c57d423f24c07e1d Mon Sep 17 00:00:00 2001 From: Sergey Odinokov Date: Wed, 21 Dec 2016 15:57:00 +0300 Subject: [PATCH] Fix Cron.MonthInterval method to return correct expression --- src/Hangfire.Core/Cron.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Hangfire.Core/Cron.cs b/src/Hangfire.Core/Cron.cs index 6557bab10..4a3f94e6a 100644 --- a/src/Hangfire.Core/Cron.cs +++ b/src/Hangfire.Core/Cron.cs @@ -247,7 +247,7 @@ public static string DayInterval(int interval) /// The number of months to wait between every activation. public static string MonthInterval(int interval) { - return $"0 0 0 */{interval} *"; + return $"0 0 1 */{interval} *"; } #if NETFULL