Ejemplo n.º 1
0
        public override string Execute(int consoleWidth)
        {
            Parameter _par = pars.GetPar("id");

            for (int i = 0; i < _par.argValues.Length; i++)
            {
                try
                {
                    _js.StartJob((int)_par.argValues[i]);
                    output += "<color><green>Job (ID=" + (int)_par.argValues[i] + ") active.\n";
                }
                catch (Exception e)
                {
                    output += "<color><red>" + e.Message + "\n";
                }
            }
            return(output);
        }