Sign in

MES / IOT · Files

Logo

GitLab

  • Back to group
  • Project
  • Activity
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • IOT
  • HH.Mes.Tool
  • Jobs
  • TestJob.cs
  • 增加设备组功能
    2645f419
    唐召明 authored
    2024-12-16 15:45:08 +0800  
    Browse Code »
TestJob.cs 450 Bytes
Edit Raw Blame History
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
using Quartz;

namespace HH.Mes.Tool.Jobs
{
    internal class TestJob : IJob
    {
        public Task Execute(IJobExecutionContext context)
        {
            try
            {
                Console.WriteLine("Hello Quartz.Net");
            }
            catch (Exception ex)
            {
                Console.WriteLine($"{nameof(TestJob)}异常:{ex.Message}");
            }
            return Task.CompletedTask;
        }
    }
}