-
- Novice
- Posts: 5
- Liked: never
- Joined: Jun 21, 2018 12:17 pm
Post Job script time out
I have a .bat that runs after backups run every night, what is the proper exit on this so Veeam doesn't annoy me with time out emails every morning? The script runs successfully so that isn't an issue. I have 'exit' as the last command in the .bat and it still times out.
-
- Chief Product Officer
- Posts: 31814
- Liked: 7302 times
- Joined: Jan 01, 2006 1:01 am
- Location: Baar, Switzerland
- Contact:
Re: Post Job script time out
It's exit code 0 for success:
Code: Select all
exit /b 0
-
- VP, Product Management
- Posts: 6035
- Liked: 2860 times
- Joined: Jun 05, 2009 12:57 pm
- Full Name: Tom Sightler
- Contact:
Re: Post Job script time out
Is there any chance the script is taking longer than 15 minutes to run before it exits? If so, you'll need to increase the default timeout for pre/post-job scripts via a registry tweak.
-
- Novice
- Posts: 5
- Liked: never
- Joined: Jun 21, 2018 12:17 pm
Re: Post Job script time out
Ah yes, just checked. Once a week it'll take a bit longer to run. Thanks.tsightler wrote:Is there any chance the script is taking longer than 15 minutes to run before it exits? If so, you'll need to increase the default timeout for pre/post-job scripts via a registry tweak.
-
- Expert
- Posts: 246
- Liked: 15 times
- Joined: Jul 25, 2018 4:12 pm
- Full Name: Poweruser
- Contact:
Re: Post Job script time out
for reference if someone wants to change the timeout look here:
https://forums.veeam.com/veeam-backup-r ... 24354.html
https://www.veeam.com/kb2182 (PostJobScriptTimeoutSec /
for vss/freeze see. https://www.veeam.com/kb1377
https://forums.veeam.com/veeam-backup-r ... 24354.html
https://www.veeam.com/kb2182 (PostJobScriptTimeoutSec /
for vss/freeze see. https://www.veeam.com/kb1377
Who is online
Users browsing this forum: Amazon [Bot], Semrush [Bot] and 96 guests