示例#1
0
文件: Program.cs 项目: Jerdak/CronM
        static void Main(string[] args)
        {
            if (args.Length != 0)
            {
                Console.WriteLine("Usage: CronM");
                return;
            }

            Console.WriteLine("\nWelcome to CronM (Cron for Windows)");
            Console.WriteLine("  - Press 'q' and hit 'enter' to QUIT.");

            CronCore core = new CronCore();
            core.Start();

            while (Console.Read() != 'q') ;
        }
示例#2
0
文件: Program.cs 项目: Jerdak/CronM
        static void Main(string[] args)
        {
            if (args.Length != 0)
            {
                Console.WriteLine("Usage: CronM");
                return;
            }

            Console.WriteLine("\nWelcome to CronM (Cron for Windows)");
            Console.WriteLine("  - Press 'q' and hit 'enter' to QUIT.");

            CronCore core = new CronCore();

            core.Start();


            while (Console.Read() != 'q')
            {
                ;
            }
        }