Skip to main content

Configure the scanner

Snow Inventory Oracle Hardware Scanner does not require a configuration file. Some configuration parameters, which are outlined below, can be executed at the command line level.

Schedule the scan in a Linux or Unix environment

In Linux and Unix environments, the scanner is triggered through a crontab job, which must be created by the user.

  • Run the following crontab to schedule the execution of the scanner:

    # run five minutes after midnight, every day

    5 0 * * * $JAVA_HOME/bin/java -jar /opt/snow/siohws.jar

    # to run the scanner with verbose logging, run the following command:

    $JAVA_HOME/bin/java -jar siohws.jar -v

Command

Description

version

Print current version to stdout

-v

Verbose logging

Schedule the scan in a Windows environment

In a Windows environment, the scanner is triggered by the Snow Inventory Oracle Middleware Scanner Launcher PowerShell script. The script must be included in the installation package for the Snow Inventory Agent for Windows.

  • To schedule the execution of the scanner, run the following command with any option to show what options are available:

    $java -jar siohws.jar help

    Unknown arguments on the command line [help]

    Help for Snow Inventory Oracle Hardware Scanner

    Usage: java -jar siohws.jar [options]

Command

Description

version

Print current version to stdout

-v

Verbose logging

Example 27.

From the command line, run the following script to run the scanner with verbose logging and the output file shall be saved in the default location:

$JAVA_HOME/bin/java -jar siohws.jar -v