CSNAPC-8267: Cmdlet Set-SmSchedule does not work for SnapCenter 6.0 to 6.1 maintenance jobs
Issue
In SnapCenter 6.0 to 6.1, maintenance jobs cannot easily be rescheduled, even from Powershell.
The error, when using Set-SmSchedule, for example with "-TaskName SnapCenter_RefreshBackupSnapLock" from Powershell for is:Requested Task cannot be processed,Mismatch in TaskName SnapCenter_RefreshBackupSnapLock
In 6.1 these are named as resource groups in the nsm_protection_group and nsm_scheduler tables as follows:
- SnapCenterDataCollection (Daily at 15:37h/3:37pm)
- SnapCenter_RemoveSecondaryBackup (Weekly, Sundays at 03:59am)=> separate bug CSNAPC-7871
- SnapCenter_RefreshBackupSnapLock (Weekly, Sundays at 02:59am)
- SnapCenter_ComputeStorageSavings (Daily at midnight)
- SnapCenter_AlertCleanup (Daily at 23:59h/11:59pm)
- SnapCenter_AuditDiskSpaceCheck (Daily at 23:59h/11:59pm)
- SnapCenter_AuditIntegrityCheck (Weekly, Sundays at 4:59am)
- SnapCenter_RefreshSyncSnapMirrorBackups (Weekly, Sundays at 00:59h)
- SnapCenter_StaleJobCleanUp (Daily at 23:59h/11:59pm)
Before version 6.0, these were scheduled in the Task Scheduler of the Windows Host running SnapCenter Server, allowing to adjust the scheduling, usually from a weekly job to a daily job, specifically for the cleanup of SnapVault backups and the Snapshot locking mechanism.
