mirror of
https://github.com/fergalmoran/SilkierQuartz.git
synced 2025-12-26 03:29:44 +00:00
修改
This commit is contained in:
@@ -4,6 +4,10 @@
|
|||||||
<TargetFramework>net5.0</TargetFramework>
|
<TargetFramework>net5.0</TargetFramework>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
||||||
|
<DefineConstants>TRACE;_ENABLE_AUTH</DefineConstants>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="..\src\Quartz.Plugins.RecentHistory\Quartz.Plugins.RecentHistory.csproj" />
|
<ProjectReference Include="..\src\Quartz.Plugins.RecentHistory\Quartz.Plugins.RecentHistory.csproj" />
|
||||||
<ProjectReference Include="..\src\SilkierQuartz\SilkierQuartz.csproj" />
|
<ProjectReference Include="..\src\SilkierQuartz\SilkierQuartz.csproj" />
|
||||||
|
|||||||
@@ -59,10 +59,13 @@ namespace SilkierQuartz.Example
|
|||||||
CronExpressionOptions = new CronExpressionDescriptor.Options()
|
CronExpressionOptions = new CronExpressionDescriptor.Options()
|
||||||
{
|
{
|
||||||
DayOfWeekStartIndexZero = false //Quartz uses 1-7 as the range
|
DayOfWeekStartIndexZero = false //Quartz uses 1-7 as the range
|
||||||
},
|
}
|
||||||
|
#if ENABLE_AUTH
|
||||||
|
,
|
||||||
AccountName = "admin",
|
AccountName = "admin",
|
||||||
AccountPassword = "password",
|
AccountPassword = "password",
|
||||||
IsAuthenticationPersist = false
|
IsAuthenticationPersist = false
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user