Exemple #1
0
        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') ;
        }
Exemple #2
0
        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')
            {
                ;
            }
        }