Inheritance: System.Web.Services.Protocols.SoapHttpClientProtocol
    public static void Main(string [] args)
    {
        TextWriter writer;

        writer = File.AppendText("log.txt");
        string result = "";

        try {
            ChronojumpServerAlive myServer = new ChronojumpServerAlive();
            result = myServer.PingAlive(DateParse(DateTime.Now.ToString()));
        }
        catch {
            result = "--- restarting " + DateParse(DateTime.Now.ToString()) + " ---";

            string xsp2ReloadMark = "xsp2_need_to_reload";
            if (!File.Exists(xsp2ReloadMark))
            {
                File.CreateText(xsp2ReloadMark);
            }
        }

        writer.WriteLine(result);
        writer.Flush();
        writer.Close();
    }
    public static void Main(string [] args)
    {
        TextWriter writer;
        writer = File.AppendText("log.txt");
        string result = "";

        try {
            ChronojumpServerAlive myServer = new ChronojumpServerAlive();
            result = myServer.PingAlive(DateParse(DateTime.Now.ToString()));
        }
        catch {
            result = "--- restarting " + DateParse(DateTime.Now.ToString()) + " ---";

            string xsp2ReloadMark = "xsp2_need_to_reload";
            if(!File.Exists(xsp2ReloadMark))
                    File.CreateText(xsp2ReloadMark);
        }

        writer.WriteLine(result);
                writer.Flush();
        writer.Close();
    }