diff --git a/source/ProcessManager.Core/Domain/OrchestrationDescription/OrchestrationDescription.cs b/source/ProcessManager.Core/Domain/OrchestrationDescription/OrchestrationDescription.cs index 9416b17e..35e69b0a 100644 --- a/source/ProcessManager.Core/Domain/OrchestrationDescription/OrchestrationDescription.cs +++ b/source/ProcessManager.Core/Domain/OrchestrationDescription/OrchestrationDescription.cs @@ -87,7 +87,7 @@ public string RecurringCronExpression { if (value != _recurringCronExpression) { - if (CrontabSchedule.TryParse(value) == null) + if (value != string.Empty && CrontabSchedule.TryParse(value) == null) throw new ArgumentOutOfRangeException($"Invalid cron value '{value}'. See https://github.com/atifaziz/NCrontab/wiki/Crontab-Expression for expected format."); _recurringCronExpression = value;