A2v10.Scheduling 10.1.8309

There is a newer version of this package available.
See the version list below for details.
dotnet add package A2v10.Scheduling --version 10.1.8309                
NuGet\Install-Package A2v10.Scheduling -Version 10.1.8309                
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="A2v10.Scheduling" Version="10.1.8309" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add A2v10.Scheduling --version 10.1.8309                
#r "nuget: A2v10.Scheduling, 10.1.8309"                
#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 A2v10.Scheduling as a Cake Addin
#addin nuget:?package=A2v10.Scheduling&version=10.1.8309

// Install A2v10.Scheduling as a Cake Tool
#tool nuget:?package=A2v10.Scheduling&version=10.1.8309                

About

A2v10.Scheduling is a basic job scheduling system for the A2v10 platform applications.

How to use

services.UseScheduling(Configuration, factory =>
{
    // job handlers
    factory.RegisterJobHandler<T>("HandlerName");
    // or (the name will be equal typeof(T).FullName)
    factory.RegisterJobHandler<T>(); 
    // commands
    factory.RegisterCommand<T>("CommandName");
});

appsettings.json section

"Scheduler": {
  "Jobs": [
    {
       "Id": "JobId",
       "Handler": "HandlerName",
       "Cron": "0 * * ? * *",
       "DataSource": "ConnectionStringName",
       "Procedure": "dbo.[Sql_procedure]",
       "Parameters": {
         ...
       }
    },
  ]
}

"Id", "Handler", and "Cron" are required. Rest parameters depend on the handler type.

Hanlder types in this package

  • A2v10.Scheduling.ExecuteSqlJobHandler - executes a stored procedure
  • A2v10.Scheduling.ProcessCommandsJobHandler - processes the command queue

See also

If your site is hosted using IIS

Make sure the site is always running.

  • Application Pool | Advanced Settings ⇒ Start Mode = AlwaysRunning
  • Site | Advanced Settings ⇒ Preload Enabled = True

Feedback

A2v10.Scheduling is released as open source under the Apache-2.0 license. Bug reports and contributions are welcome at the GitHub repository.

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  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 is compatible.  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 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
10.1.8362 102 11/2/2024
10.1.8335 430 8/12/2024
10.1.8329 82 8/4/2024
10.1.8322 154 7/17/2024
10.1.8319 108 7/10/2024
10.1.8316 106 7/8/2024
10.1.8315 113 7/5/2024
10.1.8309 121 6/27/2024
10.1.8301 145 6/8/2024
10.1.8284 586 5/25/2024
10.1.8283 98 5/24/2024
10.1.8282 148 5/10/2024
10.1.8255 724 2/25/2024
10.1.8232 222 2/19/2024
10.1.8231 109 2/18/2024
10.1.8230 106 2/18/2024
10.1.8220 430 1/10/2024
10.1.8214 154 1/2/2024
10.1.8184 469 11/24/2023
10.1.8183 136 11/23/2023
10.1.8181 132 11/19/2023
10.1.8180 130 11/18/2023
10.1.8150 394 9/3/2023
10.1.8136 563 8/21/2023
10.1.8135 179 8/21/2023
10.1.8134 231 8/5/2023
10.1.8130 278 8/3/2023
10.1.8129 197 8/1/2023
10.1.8126 182 7/31/2023
10.1.8125 228 7/22/2023
10.1.8123 184 7/22/2023
10.1.8122 190 7/22/2023
10.1.8121 198 7/21/2023
10.1.8120 172 7/20/2023