实例介绍
CrystalQuartz的TopShelf Nancy修改版 根据原版代码:https://github.com/guryanovev/CrystalQuartz 修改而来。 界面使用了原版CrystalQuartz,融合了Nancy、Nancy.Host.Self、NHaml(作为ViewEngine),支持多语言(暂时中文和英语,可以扩展)。 与Quartz.Net结合,配合TopShelf、TopShelfNancy做到以Windows服务运行的作业调度服务,同时提供WebUI对Quartz.Net作业调度进行控制管理,实现了作业调度服务和作业调度控制的一体化。 服务运行的日志
【实例截图】
【核心代码】
4f0f9d28-bb9b-43f4-be49-36d2a2440a97
├── CommonAssemblyInfo.cs
├── CrystalQuartz.Core
│ ├── app.config
│ ├── CrystalQuartz.Core.csproj
│ ├── DefaultSchedulerDataProvider.cs
│ ├── Domain
│ │ ├── Activity.cs
│ │ ├── ActivityNode.cs
│ │ ├── ActivityStatus.cs
│ │ ├── JobData.cs
│ │ ├── JobDetailsData.cs
│ │ ├── JobGroupData.cs
│ │ ├── NamedObject.cs
│ │ ├── Property.cs
│ │ ├── SchedulerData.cs
│ │ ├── SchedulerStatus.cs
│ │ ├── TriggerData.cs
│ │ ├── TriggerGroupData.cs
│ │ └── TriggerTypes
│ │ ├── CronTriggerType.cs
│ │ ├── SimpleTriggerType.cs
│ │ └── TriggerType.cs
│ ├── ISchedulerDataProvider.cs
│ ├── job_scheduling_data_2_0.xsd
│ ├── packages.config
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ ├── SchedulerProviders
│ │ ├── ISchedulerProvider.cs
│ │ ├── SchedulerProviderException.cs
│ │ ├── StdSchedulerProvider.cs
│ │ └── TriggerTypeExtractor.cs
│ └── Utils
│ └── DateTimeOffsetExtensions.cs
├── CrystalQuartz.Service
│ ├── app.config
│ ├── CrystalQuartz.Service.csproj
│ ├── job_scheduling_data_2_0.xsd
│ ├── packages.config
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ ├── QuartzServiceConfiguration.cs
│ ├── QuartzServiceConfiguratorExtensions.cs
│ └── QuartzService.cs
├── CrystalQuartz.sln
├── CrystalQuartz.Web
│ ├── app.config
│ ├── Authentication
│ │ ├── CrystalQuartzUserIdentity.cs
│ │ └── CrystalQuartzUserValidator.cs
│ ├── Configuration
│ │ ├── ConfigProvider.cs
│ │ └── CrystalQuartzConfiguration.cs
│ ├── Content
│ │ ├── Fonts
│ │ │ ├── flaticon.eot
│ │ │ ├── flaticon.svg
│ │ │ ├── flaticon.ttf
│ │ │ └── flaticon.woff
│ │ ├── Images
│ │ │ ├── confirm-sprite.png
│ │ │ ├── loading.gif
│ │ │ ├── multilanguage-sprite.png
│ │ │ └── type.PNG
│ │ ├── Scripts
│ │ │ ├── app.js
│ │ │ ├── jquery-1.11.1.min.js
│ │ │ ├── jquery-cookie.js
│ │ │ ├── jquery-lang.js
│ │ │ ├── jquery.noty.js
│ │ │ ├── json2.js
│ │ │ ├── lang-zh.js
│ │ │ └── lodash.compat.min.js
│ │ └── Styles
│ │ ├── bootstrap.css
│ │ ├── flaticon.css
│ │ └── main.css
│ ├── CrystalQuartzBootstrapper.cs
│ ├── CrystalQuartzStarter.cs
│ ├── CrystalQuartz.Web.csproj
│ ├── job_scheduling_data_2_0.xsd
│ ├── Modules
│ │ ├── BaseModule.cs
│ │ ├── CommandModule.cs
│ │ ├── ContentModule.cs
│ │ └── PageModule.cs
│ ├── packages.config
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ └── Views
│ ├── Bundles
│ │ ├── Scripts.haml
│ │ └── Styles.haml
│ ├── Content_Group.haml
│ ├── Content_Groups.haml
│ ├── Content.haml
│ ├── Content_Job_Details.haml
│ ├── Content_Job.haml
│ ├── Content_Scheduler_Properties.haml
│ ├── Content_Trigger.haml
│ ├── Content_Triggers.haml
│ ├── Footer.haml
│ ├── Header.haml
│ └── Index.haml
├── packages
│ ├── Common.Logging.3.3.1
│ │ ├── Common.Logging.3.3.1.nupkg
│ │ └── lib
│ │ ├── net35
│ │ │ ├── Common.Logging.dll
│ │ │ ├── Common.Logging.pdb
│ │ │ └── Common.Logging.xml
│ │ └── net40
│ │ ├── Common.Logging.dll
│ │ ├── Common.Logging.pdb
│ │ └── Common.Logging.xml
│ ├── Common.Logging.Core.3.3.1
│ │ ├── Common.Logging.Core.3.3.1.nupkg
│ │ └── lib
│ │ ├── net35
│ │ │ ├── Common.Logging.Core.dll
│ │ │ ├── Common.Logging.Core.pdb
│ │ │ └── Common.Logging.Core.xml
│ │ ├── net40
│ │ │ ├── Common.Logging.Core.dll
│ │ │ ├── Common.Logging.Core.pdb
│ │ │ └── Common.Logging.Core.xml
│ │ └── portable-win+net40+sl40+wp7
│ │ ├── Common.Logging.Core.dll
│ │ ├── Common.Logging.Core.pdb
│ │ └── Common.Logging.Core.XML
│ ├── Common.Logging.NLog40.3.3.1
│ │ ├── Common.Logging.NLog40.3.3.1.nupkg
│ │ └── lib
│ │ └── net40
│ │ ├── Common.Logging.NLog40.dll
│ │ ├── Common.Logging.NLog40.pdb
│ │ └── Common.Logging.NLog40.xml
│ ├── Nancy.1.4.3
│ │ ├── lib
│ │ │ └── net40
│ │ │ ├── Nancy.dll
│ │ │ └── Nancy.xml
│ │ └── Nancy.1.4.3.nupkg
│ ├── Nancy.Authentication.Basic.1.4.1
│ │ ├── lib
│ │ │ └── net40
│ │ │ ├── Nancy.Authentication.Basic.dll
│ │ │ └── Nancy.Authentication.Basic.XML
│ │ └── Nancy.Authentication.Basic.1.4.1.nupkg
│ ├── Nancy.Hosting.Self.1.4.1
│ │ ├── lib
│ │ │ └── net40
│ │ │ ├── Nancy.Hosting.Self.dll
│ │ │ └── Nancy.Hosting.Self.xml
│ │ └── Nancy.Hosting.Self.1.4.1.nupkg
│ ├── Nancy.ViewEngines.NHaml.0.0.1
│ │ ├── lib
│ │ │ └── net40
│ │ │ └── Nancy.ViewEngines.NHaml.dll
│ │ └── Nancy.ViewEngines.NHaml.0.0.1.nupkg
│ ├── NLog.4.3.3
│ │ ├── lib
│ │ │ ├── MonoAndroid10
│ │ │ │ ├── NLog.dll
│ │ │ │ └── NLog.xml
│ │ │ ├── net35
│ │ │ │ ├── NLog.dll
│ │ │ │ └── NLog.xml
│ │ │ ├── net40
│ │ │ │ ├── NLog.dll
│ │ │ │ └── NLog.xml
│ │ │ ├── net45
│ │ │ │ ├── NLog.dll
│ │ │ │ └── NLog.xml
│ │ │ ├── sl4
│ │ │ │ ├── NLog.dll
│ │ │ │ └── NLog.xml
│ │ │ ├── sl5
│ │ │ │ ├── NLog.dll
│ │ │ │ └── NLog.xml
│ │ │ ├── wp8
│ │ │ │ ├── NLog.dll
│ │ │ │ └── NLog.xml
│ │ │ └── Xamarin.iOS10
│ │ │ ├── NLog.dll
│ │ │ └── NLog.xml
│ │ └── NLog.4.3.3.nupkg
│ ├── Quartz.2.3.3
│ │ ├── content
│ │ │ └── job_scheduling_data_2_0.xsd
│ │ ├── lib
│ │ │ ├── net35
│ │ │ │ ├── Quartz.dll
│ │ │ │ ├── Quartz.pdb
│ │ │ │ └── Quartz.xml
│ │ │ ├── net35-client
│ │ │ │ ├── Quartz.dll
│ │ │ │ ├── Quartz.pdb
│ │ │ │ └── Quartz.xml
│ │ │ ├── net40
│ │ │ │ ├── Quartz.dll
│ │ │ │ ├── Quartz.pdb
│ │ │ │ └── Quartz.xml
│ │ │ └── net40-client
│ │ │ ├── Quartz.dll
│ │ │ ├── Quartz.pdb
│ │ │ └── Quartz.xml
│ │ └── Quartz.2.3.3.nupkg
│ ├── repositories.config
│ ├── System.Web.NHaml.4.0.12
│ │ ├── lib
│ │ │ └── net40
│ │ │ └── System.Web.NHaml.dll
│ │ └── System.Web.NHaml.4.0.12.nupkg
│ ├── Topshelf.3.3.1
│ │ ├── lib
│ │ │ ├── net35
│ │ │ │ └── Topshelf.dll
│ │ │ └── net40-full
│ │ │ └── Topshelf.dll
│ │ └── Topshelf.3.3.1.nupkg
│ ├── Topshelf.Common.Logging.1.0.2.1
│ │ ├── content
│ │ │ └── LICENSE.txt
│ │ ├── lib
│ │ │ └── net40
│ │ │ └── Topshelf.Common.Logging.dll
│ │ └── Topshelf.Common.Logging.1.0.2.1.nupkg
│ └── Topshelf.NLog.3.3.1
│ ├── lib
│ │ ├── net35
│ │ │ └── Topshelf.NLog.dll
│ │ └── net40-full
│ │ └── Topshelf.NLog.dll
│ └── Topshelf.NLog.3.3.1.nupkg
├── TestQuartz
│ ├── App.config
│ ├── BaseJob.cs
│ ├── install-service.bat
│ ├── job_scheduling_data_2_0.xsd
│ ├── LICENSE.txt
│ ├── nlog.config
│ ├── packages.config
│ ├── Program.cs
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ ├── quartzjobs.config
│ ├── SampleService.cs
│ ├── start-service.bat
│ ├── stop-service.bat
│ ├── TestJob1.cs
│ ├── TestJob2.cs
│ ├── TestQuartz.csproj
│ └── uninstall-service.bat
└── Topshelf.Nancy
├── NancyServiceConfiguration.cs
├── NancyServiceConfiguratorExtensions.cs
├── NancyService.cs
├── NetSh.cs
├── NetShResultCode.cs
├── NetShResult.cs
├── packages.config
├── Properties
│ └── AssemblyInfo.cs
├── Topshelf.Nancy.csproj
├── UacHelper.cs
└── UrlReservationsHelper.cs
81 directories, 187 files
标签:
小贴士
感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。
- 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
- 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
- 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
- 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。
关于好例子网
本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明
网友评论
我要评论