|
|
@@ -18,6 +18,7 @@ using HKLib.RabbitMQ.Config; |
|
|
|
using HKLib.RabbitMQ.Subscriber; |
|
|
|
using System.Linq; |
|
|
|
using BPA.Helper; |
|
|
|
using QuartzUtil.Job; |
|
|
|
|
|
|
|
namespace HKCardOUT |
|
|
|
{ |
|
|
@@ -132,6 +133,14 @@ namespace HKCardOUT |
|
|
|
/// </summary> |
|
|
|
protected override void OnLaunch() |
|
|
|
{ |
|
|
|
QuartzCoreFactory.QuartzCore().AddJob<CardJob>(new QuartzMap |
|
|
|
{ |
|
|
|
JobDetail = "定时同步卡", |
|
|
|
JobName = "同步卡", |
|
|
|
JobGroup = "同步卡", |
|
|
|
Cron= "0 25,55 11,17 * * ?" |
|
|
|
}); |
|
|
|
|
|
|
|
QuartzCoreFactory.QuartzCore().AddJob<QuartzJob>(new QuartzMap |
|
|
|
{ |
|
|
|
JobDetail = "定时推送订单", |
|
|
|