Hi,
since update Veeam B&R from 7 to 8 I got the Warning
"Post-job script terminated with exit code 1".
It is not totaly wrong, because after the Job run a script which eject the target RDX.
Is there any Option to get a successs message and ignore the warning ?
thanks
-
- Lurker
- Posts: 2
- Liked: never
- Joined: Oct 29, 2015 7:44 am
- Contact:
-
- Product Manager
- Posts: 6551
- Liked: 765 times
- Joined: May 19, 2015 1:46 pm
- Contact:
Re: Post Script Warning Exit Code 1
Hi,
The only way to get success message and ignore the warning would be to either disable script execution or check you post-job script first and see which line generates taht error code. You can never know for sure if that error wlll eventually result in some sort of a disaster or not, so i'd stick with the latter. Feel free to post the problematic piece of code here if you need help with troubleshooting - people here will be glad to be of help.
Thank you.
The only way to get success message and ignore the warning would be to either disable script execution or check you post-job script first and see which line generates taht error code. You can never know for sure if that error wlll eventually result in some sort of a disaster or not, so i'd stick with the latter. Feel free to post the problematic piece of code here if you need help with troubleshooting - people here will be glad to be of help.
Thank you.
-
- Lurker
- Posts: 2
- Liked: never
- Joined: Oct 29, 2015 7:44 am
- Contact:
Re: Post Script Warning Exit Code 1
Hi,
Message from Veeam : Post-job script terminated with exit code 1
Script : @echo off
timeout /T 60
c:\VeeamScripte\FreeEject\freeeject.exe h
exit
Message from Veeam : Post-job script terminated with exit code 1
Script : @echo off
timeout /T 60
c:\VeeamScripte\FreeEject\freeeject.exe h
exit
-
- Product Manager
- Posts: 6551
- Liked: 765 times
- Joined: May 19, 2015 1:46 pm
- Contact:
Re: Post Script Warning Exit Code 1
I belive that there should be no problems with "echo", "timeout", and "exit" strings and something must be wrong with the part. Another option is to append /b 0 to your "exit" statement so it will set error level to 0 thus making VBR think that the script finished without errors, however that's a dangerous approach.
Thank you.
Code: Select all
"c:\VeeamScripte\FreeEject\freeeject.exe h
Thank you.
Who is online
Users browsing this forum: No registered users and 52 guests