Beispiel #1
0
        public static void Main(string[] args)
        {
            var schedulerName = JobServiceBuilder.BuilderProduce().Start();

            JobApiStartHelper.Start(schedulerName);

            //JobServiceBuilder.BuilderTest().Start(new JobInfo
            //{
            //    AssemblyPath = @"E:\gongwei\my\Go.Job\TestJob1\bin\Debug\TestJob1.dll",
            //    ClassType = "TestJob1.Job1",
            //    Second = 5,
            //});
        }
Beispiel #2
0
        public static void Main(string[] args)
        {
            JobServiceBuilder.BuilderProduce().Start();

            JobApiStartHelper.Start("wechat");



            //JobServiceBuilder.BuilderTest().Start(new JobInfo
            //{
            //    AssemblyPath = @"C:\Users\h3user\Downloads\Go.Job.QuartzNET3X-master\Go.Job.QuartzNET3X-master\TestJob1\bin\Debug\TestJob1.dll",
            //    ClassType = "TestJob1.Job1",
            //    Second = 1,
            //});

            //JobServiceBuilder.BuilderTest().Start();
        }