--- title: "system.tag.scan" description: "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." --- # system.tag.scan > 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. :::note Deprecated This function was deprecated in 8.1.0. ::: This function is used in **Python Scripting**. ## Description ## Client Permission Restrictions This scripting function has no [Client Permission](versioned_docs/version-8.1\ignition-modules\vision\vision-project-properties\vision-project-properties.md#vision-permissions-properties) restrictions. ## Syntax `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 ## Code Examples ```python title="Example #1" # 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") ```