Skip to content

Sample Quartz.NET Hosted Service

License

Notifications You must be signed in to change notification settings

MassTransit/Sample-Quartz

Repository files navigation

Sample MassTransit Quartz Scheduler

This sample contains two projects:

  1. Net461 using TopShelf
  2. NetCore (linux, windows, mac...), it uses System.ServiceProcess.ServiceController which allows the process to be installed on windows as a service (using sc.exe)

The persistence mechanism used in this example is SQLServer, however Quartz.net supports all of these.

Building

Connect to your development SQLServer, windows users is most likely (localdb)\MSSQLLocalDb, and run this script

Open the .sln, and run any one of the three projects. Done, you have a MT Scheduler!