SetScheduleDependentJobs

PowerShell script exchange

SetScheduleDependentJobs

Veeam Logoby mgajda » Thu May 02, 2013 11:14 am

Hi,
I have a little problem with setting scheduled dependent jobs in PowerShell. For example I have two Jobs: Job1 and Job2. I get both jobs to variables:
$Job2 = Get-VBRJob -Name HvBackupJob2
$Job = Get-VBRJob -Name HvBackupJob

Next I try use SetScheduleDependentJobs method.
$Job.SetScheduleDependentJobs($Job2)

Everything pass without error, but there is no effect in attribute PreviousJobIdInScheduleChain.
When I use GUI everything is OK. Can anyone help?

Regards Michal
mgajda
Lurker
 
Posts: 2
Liked: never
Joined: Thu May 02, 2013 11:02 am

Re: SetScheduleDependentJobs

Veeam Logoby v.Eremin » Fri May 03, 2013 12:08 am

For now it seems to be general limitation that you aren’t able to set chain dependent job, using aforesaid methods.

It might be fixed in the future releases.

Thanks for the feedback; highly-appreciated.
v.Eremin
Veeam Software
 
Posts: 13291
Liked: 973 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

Re: SetScheduleDependentJobs

Veeam Logoby mgajda » Sat May 04, 2013 8:58 am

Thanks,
I didn't know if something is wrong with software or just I doing something wrong.
Is there a known approximate date when it would be fixed?
mgajda
Lurker
 
Posts: 2
Liked: never
Joined: Thu May 02, 2013 11:02 am

Re: SetScheduleDependentJobs

Veeam Logoby v.Eremin » Mon May 27, 2013 2:23 pm

Is there a known approximate date when it would be fixed?

According to plan, it should be fixed in the upcoming release. So, stay tuned.

Thanks.
v.Eremin
Veeam Software
 
Posts: 13291
Liked: 973 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin


Return to PowerShell



Who is online

Users browsing this forum: Bing [Bot] and 7 guests