예제 #1
0
        private async Task RunAsync()
        {
            while (true)
            {
                await RuleManager.ExecuteAsync();

                Thread.Sleep(5 * 60 * 1000); //5 minutes
            }
        }