Exemplo n.º 1
0
        /// <summary>
        /// Loops over databases and performs welfare checks on sites
        /// </summary>
        private void MonitorSites()
        {
            string[] databases = LocalData.GetAllDatabases();

            // Loop over all databases
            for (int i = 0; i < databases.Length; ++i)
            {
                SiteWelfareData welfare = new SiteWelfareData(databases[i]);
                welfare.Run();
                System.Threading.Thread.Sleep(100);
            }
        }
        /// <summary>
        /// Loops over databases and performs welfare checks on sites
        /// </summary>
        private void MonitorSites()
        {
            string[] databases = LocalData.GetAllDatabases();

            // Loop over all databases
            for (int i = 0; i < databases.Length; ++i)
            {
                SiteWelfareData welfare = new SiteWelfareData(databases[i]);
                welfare.Run();
                System.Threading.Thread.Sleep(100);
            }
        }