June 5, 201213 yr I have a script sequence setup where if the "system script before" the FileMaker script fails, it should cancel the script sequence. In my system script, upon error, I echo out a 1 thinking that this should stop the script sequence but it is not. When is succeeds, the script exits silently. What should I do to have the pre script cancel the entire sequence?
June 5, 201213 yr use the exit command from a batch file and give it your non-zero exit code. From VBscript, use something like "wscript.quit 9"
June 7, 201213 yr Author Thank you Wim for getting me headed in the right direction. I simply replaced echo 1 with exit 1 and the scheduled script aborted as intended. ( I am using Bash )
Create an account or sign in to comment