Running Clash Manager Options in Batch or Unattended Mode
- Last UpdatedJan 03, 2024
- 1 minute read
The windows command AT can be used to run the options in batch or unattended mode.
Commands to run MMSCMD should be placed in a command file, for example in a file called c:\MMS\proj\TrackC.bat
Note that the required Marine environment must be set prior to executing the software with this option, for example by calling evars.bat from the Marine installed folder.
Example
set USERNAME=pf
set LM_LICENSE_FILE=744@pc357
call c:\Aveva\pdms12.0\evars.bat c:\Aveva\pdms12.0
rem following command line shown on several lines for clarity
c:\Aveva\ModelManagement12.0\mmscmd enr1 secret van1 sam
c:\Aveva\projects\sam\samdflts\sam.cfg
c:\MMS\logfiles\log.txt -clash trackchanges "interium"
An example of how the AT command may be executed is:
AT 20:30 /interactive /every:Su cmd /c c:\MMS\proj\TrackC.bat
This runs the Track Changes function every Sunday evening at 20:30.
Note: As an alternative to the AT command, clash set batch runs can be scheduled using the Windows 'Scheduled Tasks' GUI.