ScanRootDirectory¶
SpaceObServer.ScanRootDirectory¶
Description
Scans the passed directory at the passed date and time.
Syntax
ScanRootDirectory (Path : <String>, Date : <String>)
Parameters
- Path
An existing or new root path, for which the new scan should be scheduled.
- Date
The date and time we want the scan to be executed. Please use the ISO date time format: “YYYY-MM-DD hh-mm”.
Example
$SOS.ScanRootDirectory("C:\", "2010-01-31 20-30")
SOS.ScanRootDirectory "C:\", "2010-01-31 20-30"
Tries to starts a scan for the root directory “C:" at the 31th January 2010 at 8:30 p.m..
Remarks
The scan can only be started if the observing server is running, the SpaceObServer scan service is running on this server and if the observing server is not executing any other scans (scans are always executed sequential).