PowerShell script exchange
Post Reply
matteu
Veeam Legend
Posts: 725
Liked: 118 times
Joined: May 11, 2018 8:42 am
Contact:

Find next run backup job

Post by matteu »

Hello,

I try to find when my backup job will run next time but it seems the value is empty.

I suppose it should be there :

$jobs = Get-VBRJob
$jobs.scheduleoptions.nextrun
Natalia Lupacheva
Veteran
Posts: 1143
Liked: 302 times
Joined: Apr 27, 2020 12:46 pm
Full Name: Natalia Lupacheva
Contact:

Re: Find next run backup job

Post by Natalia Lupacheva » 1 person likes this post

Hello,

Have you already tried the workaround suggested here?
Job next run is selected in this script.

Also, could you specify the VBR version you use?

Thanks!
matteu
Veeam Legend
Posts: 725
Liked: 118 times
Joined: May 11, 2018 8:42 am
Contact:

Re: Find next run backup job

Post by matteu »

Thank you for your answer.

No one work.

I'm on V 11.0.0.837 P20210525

Image
oleg.feoktistov
Veeam Software
Posts: 1918
Liked: 636 times
Joined: Sep 25, 2019 10:32 am
Full Name: Oleg Feoktistov
Contact:

Re: Find next run backup job

Post by oleg.feoktistov » 1 person likes this post

Hi matteu,

What makes you think it doesn't work? When running either the .NET method or the cmdlet, NextRun values are present, just like in your screenshot. The empty ones just mean that the job's schedule is not enabled.

Thanks,
Oleg
matteu
Veeam Legend
Posts: 725
Liked: 118 times
Joined: May 11, 2018 8:42 am
Contact:

Re: Find next run backup job

Post by matteu » 1 person likes this post

You're totally right.

All is ok. It's just because corresponding job are not scheduled !

Thanks for your help
Post Reply

Who is online

Users browsing this forum: No registered users and 20 guests