分支自 SuZhouGuanHong/TaiYuanTaiZhong

dengjunjie
2024-05-25 8554717a7abbe2889ae1d835857661dc8b91aa68
1
2
3
4
5
6
7
8
9
10
11
12
13
14
using Pomelo.AspNetCore.TimedJob;
using WIDESEA_WMS.Common;
 
namespace WIDESEA_WebApi.Controllers
{
    public class JobQueueTask : Job
    {
        [Invoke(Begin = "2024-01-01 00:00", Interval = 1000 * 2, /*IsEnabled = true,*/ SkipWhileExecuting = true)]
        public void QueueTaskTiem()
        {
            QueueTask.ReplaceTrayTask();
        }
    }
}