https://github.com/masstransit/sample-quartz
Sample Quartz.NET Hosted Service
https://github.com/masstransit/sample-quartz
Last synced: 4 months ago
JSON representation
Sample Quartz.NET Hosted Service
- Host: GitHub
- URL: https://github.com/masstransit/sample-quartz
- Owner: MassTransit
- License: apache-2.0
- Created: 2019-05-16T15:01:20.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2024-01-16T21:21:27.000Z (over 2 years ago)
- Last Synced: 2025-02-16T14:57:52.085Z (over 1 year ago)
- Language: TSQL
- Size: 38.1 KB
- Stars: 22
- Watchers: 6
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Sample MassTransit Quartz Scheduler
This sample contains two projects:
1. Net461 using TopShelf
2. NetCore (linux, windows, mac...), it uses [System.ServiceProcess.ServiceController](https://www.nuget.org/packages/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](https://github.com/quartznet/quartznet/tree/master/database/tables).
## Building
Connect to your development SQLServer, windows users is most likely (localdb)\MSSQLLocalDb, and [run this script](create_quartz_tables.sql)
Open the .sln, and run the QuartzService project. Done, you have a MT Scheduler!