diff --git a/Bin/Newtonsoft.Json.dll b/Bin/Newtonsoft.Json.dll index 55d537fb9..e4a63399d 100644 Binary files a/Bin/Newtonsoft.Json.dll and b/Bin/Newtonsoft.Json.dll differ diff --git a/TareasProgramadas/Tareas119.ashx b/TareasProgramadas/Tareas119.ashx new file mode 100644 index 000000000..7819986d9 --- /dev/null +++ b/TareasProgramadas/Tareas119.ashx @@ -0,0 +1,46 @@ +<%@ WebHandler Language="C#" Class="TareasJam" %> + +using System; +using System.Web; +using Extensiones; + +public class TareasJam : IHttpHandler +{ + + public void ProcessRequest(HttpContext context) + { + context.Response.ContentType = "text/plain"; + //context.Response.Write("Hello World"); + bool retorno = false; + string Metodo = context.Request["Metodo"] ==null?"": context.Request["Metodo"]; + int CveEmpresa =context.Request["CveEmpresa"] ==null?0: context.Request["CveEmpresa"].ToEntero(); + switch (Metodo) + { + case "EjecutaThalamus": + retorno =EjecutaThalamus(CveEmpresa); + break; + default: + break; + } + if (retorno) + { + context.Response.Write("True"); + + }else + { + context.Response.Write("False"); + + } + context.Response.End(); + //ModExtensiones.GuardaLogAD(string.Format("{3} CveEmpresa={0} cveTareaProgramada={1} CveTareaProgramadaHistorial={2}", CveEmpresa, cveTareaProgramada, CveTareaProgramadaHistorial, Metodo), "Tareas Programadas"); + } + public bool EjecutaThalamus(int CveEmpresa) + { + return true; + } + public bool IsReusable + { + get { return false; } + } + +} \ No newline at end of file