1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
| using Quartz;
| using System;
| using System.Collections.Generic;
| using System.Linq;
| using System.Reflection;
| using System.Threading.Tasks;
| using System.Web;
|
| namespace VueWebApi.TimeTick
| {
| public class CaptureJob
| {
| #region IJob 成员
| private static log4net.ILog log = log4net.LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
| public async Task Execute(IJobExecutionContext context)
| {
| log.Info(DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"));
| }
| #endregion
| }
| }
|
|