Exemple #1
0
 //Remove any incomplete registrations
 public void PurgeRegistrations()
 {
     JobHelpers.RunAndLogJob(PurgeRegistrationsAction, nameof(PurgeRegistrations));
 }
 public void UpdateDownloadFiles()
 {
     JobHelpers.RunAndLogJob(UpdateDownloadFilesAction, nameof(UpdateDownloadFiles));
 }
 public void SendNotifyEmail(NotifyEmail notifyEmail)
 {
     JobHelpers.RunAndLogJob(() => SendNotifyEmailAction(notifyEmail), nameof(SendNotifyEmail), JobErrorsLogged.Manually);
 }
 public void FetchCompaniesHouseData()
 {
     JobHelpers.RunAndLogJob(UpdateFromCompaniesHouse, nameof(FetchCompaniesHouseData));
 }
 public void AnonymiseFeedback()
 {
     JobHelpers.RunAndLogJob(GetAndAnonymiseFeedback, nameof(AnonymiseFeedback));
 }
Exemple #6
0
 public void SendReminderEmails()
 {
     JobHelpers.RunAndLogJob(SendReminderEmailsAction, nameof(SendReminderEmails));
 }
 //Set presumed scope of previous years and current years
 public void SetPresumedScopes()
 {
     JobHelpers.RunAndLogJob(SetPresumedScopesAction, nameof(SetPresumedScopes));
 }
 //Remove any unverified users their addresses, UserOrgs, Org and addresses and archive to zip
 public void PurgeUsers()
 {
     JobHelpers.RunAndLogJob(PurgeUsersAction, nameof(PurgeUsers));
 }
 public void NotifyUsersAndRetireInactiveAccounts()
 {
     JobHelpers.RunAndLogJob(NotifyUsersAndRetireInactiveAccountsAction, nameof(NotifyUsersAndRetireInactiveAccounts));
 }
Exemple #10
0
 //Remove any unverified users their addresses, UserOrgs, Org and addresses and archive to zip
 public void PurgeOrganisations()
 {
     JobHelpers.RunAndLogJob(PurgeOrganisationsAction, nameof(PurgeOrganisations));
 }
 public void RunBackup()
 {
     JobHelpers.RunAndLogJob(RunBackupAction, nameof(RunBackup));
 }