ExitOnCommandLine: Finish the Script Process on Demand when launched from command line (schedules)
Tag: ExitOnCommandLine
When a script is used on the command line (schedules or otherwise), this self-closing tag will close the application running the script.
In any other case, the application does not close and nothing else happens.
CODE
|
The ExitOnCommandLine tag will close the application and terminate the script if it was used on the command line; in this case only, nothing coming after this action will be run.