PowerShell script exchange
Post Reply
mgajda
Lurker
Posts: 2
Liked: never
Joined: May 02, 2013 11:02 am
Contact:

SetScheduleDependentJobs

Post by mgajda »

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
veremin
Product Manager
Posts: 20413
Liked: 2302 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: SetScheduleDependentJobs

Post by veremin »

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.
mgajda
Lurker
Posts: 2
Liked: never
Joined: May 02, 2013 11:02 am
Contact:

Re: SetScheduleDependentJobs

Post by mgajda »

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?
veremin
Product Manager
Posts: 20413
Liked: 2302 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: SetScheduleDependentJobs

Post by veremin »

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.
Post Reply

Who is online

Users browsing this forum: No registered users and 13 guests