Server IP : 103.6.199.200 / Your IP : 3.133.139.28 Web Server : Microsoft-IIS/10.0 System : Windows NT EMPUSA 10.0 build 20348 (Windows Server 2016) i586 User : EMPUSA$ ( 0) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Domains/kmsjbcom/kmsjb.com/wwwroot/ |
Upload File : |
<%@ WebHandler Language="C#" Class="ScheduledTaskHandler" %> using System; using System.Web; using YL.KIS; public class ScheduledTaskHandler : IHttpHandler { public void ProcessRequest (HttpContext context) { if (context.Request.QueryString["ak"] == "C160385B-C2E0-4733-B1E2-02EAF9427394") { RemindProposedInvoiceSubmission l_Remind = new RemindProposedInvoiceSubmission(); l_Remind.Invoke(); if (l_Remind.HasError) { context.Response.ContentType = "text/plain"; context.Response.Write("Error@" + l_Remind.Log.ToString()); } else { context.Response.ContentType = "text/plain"; context.Response.Write("Success@" + DateTime.Now.ToString("dd/MM/yyyy HH:mm")); } } else { context.Response.ContentType = "text/plain"; context.Response.Write("TESTING"); } } public bool IsReusable { get { return false; } } }