This commit is contained in:
MysticBoy
2021-03-11 12:44:56 +08:00
parent f2dc0b790e
commit 49d58b9bbb
2 changed files with 8 additions and 1 deletions

View File

@@ -4,6 +4,10 @@
<TargetFramework>net5.0</TargetFramework>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<DefineConstants>TRACE;_ENABLE_AUTH</DefineConstants>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\src\Quartz.Plugins.RecentHistory\Quartz.Plugins.RecentHistory.csproj" />
<ProjectReference Include="..\src\SilkierQuartz\SilkierQuartz.csproj" />

View File

@@ -59,10 +59,13 @@ namespace SilkierQuartz.Example
CronExpressionOptions = new CronExpressionDescriptor.Options()
{
DayOfWeekStartIndexZero = false //Quartz uses 1-7 as the range
},
}
#if ENABLE_AUTH
,
AccountName = "admin",
AccountPassword = "password",
IsAuthenticationPersist = false
#endif
}
);