pry 2 år sedan
förälder
incheckning
8dbaae316f
2 ändrade filer med 2 tillägg och 3 borttagningar
  1. +0
    -1
      HKCardOUT/QuartzUtil/QuartzCore.cs
  2. +2
    -2
      HKCardOUT/options.json

+ 0
- 1
HKCardOUT/QuartzUtil/QuartzCore.cs Visa fil

@@ -63,7 +63,6 @@ namespace HKCardOUT.QuartzUtil
protected ITrigger CreateCronTrigger(QuartzMap quartz)
{
return TriggerBuilder.Create().WithIdentity(quartz.JobName, quartz.JobGroup)
.StartAt(quartz.StartTime).EndAt(quartz.EndTime)
.WithCronSchedule(quartz.Cron).ForJob(quartz.JobName, quartz.JobGroup)
.WithDescription(quartz.JobDetail).Build();
}


+ 2
- 2
HKCardOUT/options.json Visa fil

@@ -5,8 +5,8 @@
"StartDevice": true,
//串口
"COM": "COM3",
//定时任务时间表达式
"Cron": "0/15 * * * * ? ",
//定时任务时间表达式 每隔6小时推送一次
"Cron": "0 0 0/6 * * ?",
//店铺ID
"StoreId": "a19535e8-119f-4b10-a011-6288fd3ddb37",
//加盟商Id


Laddar…
Avbryt
Spara