Ejemplo n.º 1
0
        public void Log()
        {
            #region 测试dll

            MangerLog log = new MangerLog();
            log.Error("log" + DateTime.Now.ToLongDateString());
            MangerQuartznet manger = new MangerQuartznet();
            //QuatzjobRepostory _quartzrepository = new QuatzjobRepostory();
            //var job = _quartzrepository.FindById(4);
            //var sd = manger.RunJob(job).Result;

            #endregion
        }
Ejemplo n.º 2
0
        static void Main(string[] args)
        {
            Console.WriteLine("2");
            //var jianting = new ManagerScheduler().Scheduler;

            //jianting.Start().Wait();



            MangerLog log = new MangerLog();

            log.Error("log" + DateTime.Now.ToLongDateString());
            MangerQuartznet manger = new MangerQuartznet();

            //QuatzjobRepostory _quartzrepository = new QuatzjobRepostory();
            //var job = _quartzrepository.FindById(4);
            //var sd = manger.RunJob(job).Result;

            Console.ReadKey();
        }