Reset LastRun Date On Global Task

Description

Resets the last run date on a global task


Syntax

ResetLastRunOnGlobalTask(ByVal taskDisplayName As String) As Boolean


Parameters

TaskDisplayName (String)

  • Auto Archive Changelog
  • Cleanup Performance Index Data
  • Clear Changeset
  • Clear Deleted Units
  • Group Health Check
  • Inventory Cleanup
  • Process Metering History
  • Process SQL groups
  • System Health
  • Update Active Directory Groups
  • Update Application Groups
  • Update OS Version
  • Update Unit Commands
  • Update Unlicensed Software Queries

Return value

Boolean. Returns true if the group is created, otherwise false


Example

VBScript
Dim bStatus
Dim oCMS
   
Set oCMS = CreateObject("CapaInstaller.SDK")
bStatus = oCMS.ResetLastRunOnGlobalTask("Update Active Directory Groups")