Related vesion: All
Problem
From time to time, you may need to change the inventory scan local scheduler settings using manage script.
Resolution
Sample Script:
[MACHINES_WIN]
REMEXEC01=<qt/>%LDMS_CLIENT_DIR%\LocalSch.exe<qt/> /del /taskid=555
REMEXEC02=<qt/>%LDMS_CLIENT_DIR%\LocalSch.exe<qt/> /exe=%quote%%LDMS_CLIENT_DIR%\ldiscn32.exe %quote% /cmd=<qt/>/NTT=CoreServerName:5007 /S=CoreServerName /I=HTTP://CoreServerName/ldlogon/ldappl3.ldz /NOUI<qt/> /taskid=555 /freq=86400 /tod=%quote%14|16%quote% /autodelay=2|60
Note:
1. CoreServerName needs to be replaced by the real core server short name.
2. /NOUI, this is inventory scanner switch, please refer to bleow related document for more switches.
3. /taskid=555, inventory scan local scheduler task ID is always 555 by default. It is recommended to NOT change the ID.
4. /freq=86400, local scheduler task frequency in seconds, 86400 means 1 day. The value can be changed according to the needs.
5. /tod=%quote%14|16%quote%, time period sets to perform the task, 14|16 means from 2pm to 4pm. The value can be changed according to the needs.
6. /autodelay=2|60, time delay sets to perform the task, 2|60 means 2 hours. The value can be changed according to the needs.
Related document: