MX NS Scheduler tasks fixes
This commit is contained in:
parent
72a4c0d1ff
commit
7d753484d9
19 changed files with 619 additions and 143 deletions
|
@ -27,6 +27,7 @@ namespace WebsitePanel.EnterpriseServer
|
|||
{
|
||||
BackgroundTask topTask = TaskManager.TopTask;
|
||||
var domainUsers = new Dictionary<int, UserInfo>();
|
||||
var checkedDomains = new List<int>();
|
||||
|
||||
// get input parameters
|
||||
int daysBeforeNotify;
|
||||
|
@ -65,6 +66,13 @@ namespace WebsitePanel.EnterpriseServer
|
|||
|
||||
foreach (var domain in domains)
|
||||
{
|
||||
if (checkedDomains.Contains(domain.DomainId))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
checkedDomains.Add(domain.DomainId);
|
||||
|
||||
ServerController.UpdateDomainRegistrationData(domain);
|
||||
|
||||
if (CheckDomainExpiration(domain.ExpirationDate, daysBeforeNotify))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue