Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Scripting_function



Panel
titleDescription

Forces execution of a scan class. On a leased scan class, if both the fast and slow rate are set to 0, this will not execute


Panel
titleClient Permission Restrictions

This scripting function has no Client Permission restrictions.


Panel
titleSyntax

system.tag.scan(provider, scname)

  • Parameters

String provider The name of the scan class provider. If blank, it will use the default. Required if used in the gateway scope.

String scname The name of the scan class to execute.

  • Returns

nothing

  • Scope

All



Panel
titleCode Examples


Code Block
languagepy
titleCode Snippet
# This code would immediately execute a scan on the scan class named My Slow Scan Class, even though it is only supposed to execute every minute.
 
system.tag.scan("MyProvider", "My Slow Scan Class")