Skip to main content
Skip table of contents

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
<ExitOnCommandLine/>

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. 

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.