AttributeQuartz.Net
1.0.1
dotnet add package AttributeQuartz.Net --version 1.0.1
NuGet\Install-Package AttributeQuartz.Net -Version 1.0.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="AttributeQuartz.Net" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add AttributeQuartz.Net --version 1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: AttributeQuartz.Net, 1.0.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install AttributeQuartz.Net as a Cake Addin #addin nuget:?package=AttributeQuartz.Net&version=1.0.1 // Install AttributeQuartz.Net as a Cake Tool #tool nuget:?package=AttributeQuartz.Net&version=1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
.net core特性定时任务
介绍
这是一款只需要在控制器中的Action中加上特性即可实现定时任务的类库,极大的简化了Quartz的使用流程
安装教程
1、将类库引用到项目中
2、在 Startup.cs 中的 ConfigureServices 方法里调用 services.AddAttributeQuartz(); 添加特性定时服务
3、在 Startup.cs 中的 Configure 方法里调用 app.StartAttributeQuartz(); 来启动特性定时任务
使用说明
1、完成安装操作之后,只需要在需要执行定时任务的Action上加入特性 QuartzTask 就可以实现定时任务了
注意事项
1、如果指定CronExpression参数,则不需要指定IntervalInSeconds、IsRepeatForever、RepeatCount参数
参与贡献
QQ:279202647 作者:Core园主
转载请注明出处,以后会开源更多大家喜欢的项目。
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
.NET Core | netcoreapp3.1 is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETCoreApp 3.1
- Microsoft.AspNetCore.Http.Abstractions (>= 2.2.0)
- Microsoft.AspNetCore.Mvc.Core (>= 2.2.5)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 5.0.0)
- Quartz (>= 3.3.3)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.