此规则定期从“客户端监视”文件共享中削减 cab 和状态文件。
此规则在内部使用,定期从“客户端监视”文件共享中整理 cab 和状态文件。此规则不应被替代,因为会对监视产生负面影响。
本节不适用于此类型规则。
此类型规则无需任何用户操作。
Target | Microsoft.SystemCenter.CM.AEM.CrashListener |
Category | Operations |
Enabled | True |
Alert Generate | False |
Remotable | True |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
Scheduler | DataSource | System.Scheduler | Default |
FSWA | WriteAction | Microsoft.SystemCenter.CM.AEM.Internal.FileShareWA | Default |
<Rule ID="Microsoft.SystemCenter.CM.AEM.Internal.CabAndStatusFileTrimmer" Target="AEMLib!Microsoft.SystemCenter.CM.AEM.CrashListener" Enabled="true" ConfirmDelivery="true">
<Category>Operations</Category>
<DataSources>
<DataSource ID="Scheduler" TypeID="System!System.Scheduler">
<Scheduler>
<SimpleReccuringSchedule>
<Interval Unit="Days">1</Interval>
</SimpleReccuringSchedule>
<ExcludeDates/>
</Scheduler>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="FSWA" TypeID="Microsoft.SystemCenter.CM.AEM.Internal.FileShareWA">
<FileShareConfiguration>
<Location>$Target/Property[Type="AEMLib!Microsoft.SystemCenter.CM.AEM.CrashListener"]/SharePath$</Location>
<Validate>false</Validate>
<PolicyTextUrl>$Target/Property[Type="AEMLib!Microsoft.SystemCenter.CM.AEM.CrashListener"]/PolicyResponseUrl$</PolicyTextUrl>
<TrimCabsNotTouchedInDays>90</TrimCabsNotTouchedInDays>
<TrimStatusFilesNotTouchedInDays>90</TrimStatusFilesNotTouchedInDays>
</FileShareConfiguration>
</WriteAction>
</WriteActions>
</Rule>