예제 #1
0
        /// <summary>
        /// Let the games begin
        /// </summary>
        /// <param name="args"></param>
        static void Main(string[] args)
        {
            Gremlin.Init(Environment.MachineName);
            Gremlin.EmailTo = "*****@*****.**";


            string            root = @"S:\S-Z\Timothy Darrow\Redirect Machine";
            RedirectJobFinder jobs = new RedirectJobFinder(root);

            int jobCount = jobs.returnJobCount();

            //Gremlin.Info("Starting Redirect Machine. Number of jobs: " + jobCount, sendEmail: true);
            jobs.Run();


            Console.WriteLine("closing gremlin");
            Gremlin.Close();
        }
예제 #2
0
        static void Main(string[] args)
        {
            Gremlin.Init(Environment.MachineName);
            Gremlin.EmailTo = "*****@*****.**";

            Console.WriteLine("Starting redirect machine...");

            string            root = @"S:\M-R\Marcus LeGault\Redirect Machine";
            RedirectJobFinder jobs = new RedirectJobFinder(root);

            int jobCount = jobs.returnJobCount();

            jobs.Run();

            Console.WriteLine("Done!");

            Gremlin.Close();
        }