static void Main(string[] args) { JobContext context = new JobContext(); context.Properties = new Dictionary <string, string>(); context.Properties.Add("BizLog", BIZLOG); context.Properties.Add("RejectionPercent", "30"); Console.WriteLine("\n超过十天邮件提醒\n\n"); Console.WriteLine(SOSendAlarmMailBP.Check(context)); Console.Read(); }
public void Run(JobContext context) { SOSendAlarmMailBP.Check(context); }