Limiting training report to only run in production

This commit is contained in:
Chase Tucker 2023-09-20 09:28:08 -07:00
parent 167db67027
commit 7330647172

View File

@ -47,7 +47,9 @@ namespace Fab2ApprovalSystem
GlobalVars.hostURL = connectionstring.ToUpper().Contains("TEST") ? @"http://" + DevWebSiteUrl : @"http://" + ProdWebSiteUrl ; GlobalVars.hostURL = connectionstring.ToUpper().Contains("TEST") ? @"http://" + DevWebSiteUrl : @"http://" + ProdWebSiteUrl ;
#if (!DEBUG)
OOOTrainingReportJobSchedule.Start(); OOOTrainingReportJobSchedule.Start();
#endif
} }