| Command line parameters |
Heatsoft Automatic Synchronizer allows to perform operations using a command line parameters. So you can perform HAS commands without opening the program window, either with any appropriate program (like "Windows Scheduled Tasks", for instance), through created shortcut to HAS or through "Run" option from Windows "Start" menu.
HAS command line syntax:
HasExecutable "JobName" ["JobSignature"] [switches]
where
HasExecutable - path to the 'has.exe' file, for instance, "c:\Program Files\HAS\HAS.exe"
JobName - name of the job you do want to run
JobSignature - a job signature which is the job creation datetime stamp; optional parameter may be helpful if do rename the job
switches - list of optional parameters which allow to define HAS behaviour
List of switches and corresponding HAS actions is displayed in the following table:
| Key | Description |
| sm | HAS will start minimized in system tray. |
| fc | HAS will be closed after a job execution. |
| fm | HAS will be minimized in the system tray after a job execution. |
| le | Log file will be displayed if there are errors only during a job execution. |
| la | Log file will be displayed after every job execution. |
| exit | Wait until HAS finishes current job execution and close the program. |
| terminate | Terminates HAS application immediately. |
A command line example:
"c:\Program Files\Has\HAS.exe" "Heap scanning" "40477.5453684838" -la -sm
Below are two examples of command line usage:
Notes:
See also:
Create a shortcut for Job
Main window
Tray icon
Quick start tutorial