コード例 #1
0
 //Remove any incomplete registrations
 public void PurgeRegistrations()
 {
     JobHelpers.RunAndLogJob(PurgeRegistrationsAction, nameof(PurgeRegistrations));
 }
 public void UpdateDownloadFiles()
 {
     JobHelpers.RunAndLogJob(UpdateDownloadFilesAction, nameof(UpdateDownloadFiles));
 }
コード例 #3
0
 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));
 }
コード例 #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));
 }
コード例 #8
0
 //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));
 }
コード例 #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));
 }