The function actually works fine as long as 24x7 is running as a program instead of as a service. This makes no sense to us because the service runs as the saeme user that is logged in to run as a program. What exactly could be causing this? It's obvious to us that the various programs will interact together correctly or we'd still have problems when running 24x7 as a program. : You can use ProcessGetExitCode statement to obtain the exit code value. : For example: Dim exit_code, number : Dim message, string : RunAndWait "my first process", ... : ProcessGetExitCode exit_code : Concat "my first process exit code: ", exit_code, message : LogAddMessageEx "INFO", @V"job_id", : "@V"job_name"", message : RunAndWait "my second process", ... : ProcessGetExitCode exit_code : Concat "my second process exit code: ", exit_code, message : LogAddMessageEx "INFO", @V"job_id", : "@V"job_name"", message : ... and so on ...
|