Pre-job script timed out

VMware specific discussions

Pre-job script timed out

Veeam Logoby hscox030 » Fri Aug 28, 2015 4:27 am

I am running a single VM job (Exchange) and have a pre-job script which times out after the 15 minute period. The script runs and does everything it is supposed to do but within the job it waits 15 minutes then times out. Am I missing something inside the script to state that the script has finished so the job completes that task and moves on instead of timing out? Currently the job is still running so I'll see if the post-job script does the same thing but I thought this was enough to warrant a question here.


Thanks
hscox030
Novice
 
Posts: 5
Liked: never
Joined: Thu Mar 22, 2012 5:27 pm
Full Name: Sean Cox

Re: Pre-job script timed out

Veeam Logoby v.Eremin » Fri Aug 28, 2015 9:26 am

Are you using PS as a pre-job activity? If so, have you tried to specify exit command or something similar in the script's end?
v.Eremin
Veeam Software
 
Posts: 13266
Liked: 968 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

Re: Pre-job script timed out

Veeam Logoby hscox030 » Sat Aug 29, 2015 4:09 pm

I did not see a way to launch a powershell script directly from the Veeam job so I am launching it from a batch file. Sorry for not mentioning that in the first post. I will try the exit command at the end of the script but will I have any issues with launching it from the batch file?
hscox030
Novice
 
Posts: 5
Liked: never
Joined: Thu Mar 22, 2012 5:27 pm
Full Name: Sean Cox

Re: Pre-job script timed out

Veeam Logoby v.Eremin » Mon Aug 31, 2015 9:56 am

Not sure whether I got your question. I think that exit command should allow you to actually end the script once it's done everything it was supposed to and now be terminated after a while (timeout). Thanks.
v.Eremin
Veeam Software
 
Posts: 13266
Liked: 968 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin


Return to VMware vSphere



Who is online

Users browsing this forum: calamarz, Exabot [Bot], Google [Bot] and 32 guests