Merge commit 'refs/pull/45/head' of https://gitee.com/izory/ZrAdminNetCore
This commit is contained in:
commit
ae4bb658fd
@ -1,4 +1,4 @@
|
|||||||
using Infrastructure.Attribute;
|
using Infrastructure.Attribute;
|
||||||
using Quartz;
|
using Quartz;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
@ -15,7 +15,7 @@ namespace ZR.Tasks.TaskScheduler
|
|||||||
|
|
||||||
public async Task Execute(IJobExecutionContext context)
|
public async Task Execute(IJobExecutionContext context)
|
||||||
{
|
{
|
||||||
await ExecuteJob(context, async () => await Run());
|
await ExecuteJob(context, Run);
|
||||||
}
|
}
|
||||||
|
|
||||||
public async Task Run()
|
public async Task Run()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user