This commit is contained in:
2025-10-24 09:48:08 -04:00
parent 88a8609b3e
commit ac83188bc8
2 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ internal class ClsDobbsEmail_T1439 : IDisposable
{
bool? ReportDueNow = false;
ReportDueNow = cn.ExecuteScalar<bool>("Select Top 1 [NeedToSend] From [crpt].[Dobbs_EmailContestCalendar] Where [SendReport]=@Today", new { Today = DateTime.Today });
ReportDueNow = DebugMode || cn.ExecuteScalar<bool>("Select Top 1 [NeedToSend] From [crpt].[Dobbs_EmailContestCalendar] Where [SendReport]=@Today", new { Today = DateTime.Today });
if (ReportDueNow.HasValue && ReportDueNow.Value)
{
cn.Open();
+1 -2
View File
@@ -24,10 +24,9 @@ internal class Program
if (Debugger.IsAttached)
{
using (var obj = new ClsDobbsEmail_T1439() { DebugMode = false })
using (var obj = new ClsDobbsEmail_T1439() { DebugMode = true })
{
obj.Go();
obj.Go();
}
}
else