FailScriptOnMissingInputFile |
Top Previous Next |
×V4.0Ø
Valid for: SetStartup
Syntax - SetStartup FailScriptOnMissingInputFile {"Yes" | "No"}
Description: By default, if EMUE is configured to use an InputFile, and the file does not appear, EMUE will fail the script. There are occasions, however, in which the absence of a file is acceptable. In such cases, if FailScriptOnMissingInputFile is set to No, and the file does not appear before the designated timeout, EMUE will behave like it would on a successful exit. That means, a success email will be sent rather than an error email and the script will close and disconnect if it is configured to do so.
Note: This command will override the SetStartup WaitAgain. If the file does not appear, it will not wait again.
Note: The default behaviour is that EMUE will fail the script if the input file does not appear within the designated time.
Sample 1: The following statements instruct EMUE to fail the script if the input file is not found within thirty minutes. SetStartup FailScriptOnMissingInputFile "Yes" SetStartup WaitForInputFile "Yes" SetStartup MaxFileWaitTime "30"
Sample 2: The following statements instruct EMUE to finish successfully even if the input file is not found within the designated timeout. SetStartup FailScriptOnMissingInputFile "No" SetStartup WaitForInputFile "Yes" SetStartup MaxFileWaitTime "180"
Sample 3: The following statements instruct EMUE to fail the script if the input file is not found within one minute even though the SetStartup WaitAgain is set to Yes. SetStartup FailScriptOnMissingInputFile "Yes" SetStartup WaitAgain "Yes" SetStartup WaitForInputFile "Yes" SetStartup MaxFileWaitTime "1"
See Also:
|