using DS.WMS.Core.HangfireJob.Interface; using Quartz; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DS.WMS.Core.Jobs { public class TimeJob : IJob { public async Task Execute(IJobExecutionContext context) { Console.WriteLine($"当前时间: {DateTime.Now}"); } } }