示例#1
0
        public void Execute(Dictionary <string, string> arguments)
        {
            int intervalMinutes = 60;

            if (arguments.ContainsKey("/interval"))
            {
                intervalMinutes = int.Parse(arguments["/interval"]);
            }
            Harvest.HarvestTGTs(intervalMinutes);
        }
示例#2
0
        public void Execute(Dictionary <string, string> arguments)
        {
            int    intervalMinutes  = 60;
            string registryBasePath = null;

            if (arguments.ContainsKey("/interval"))
            {
                intervalMinutes = Int32.Parse(arguments["/interval"]);
            }
            if (arguments.ContainsKey("/registry"))
            {
                registryBasePath = arguments["/registry"];
            }

            Harvest.HarvestTGTs(intervalMinutes, registryBasePath);
        }