mirror of
https://github.com/fergalmoran/SilkierQuartz.git
synced 2025-12-22 09:37:56 +00:00
修改
This commit is contained in:
@@ -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" />
|
||||
|
||||
@@ -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
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user