Greetings,
I am using linux agent and I want to get the next run information with the powershell script of the backupjob I created. as far as I have researched, I cannot get this information, is there a method you can recommend to get this information?
Thanks.
			
			
									
						
										
						- 
				can
 - Influencer
 - Posts: 16
 - Liked: 3 times
 - Joined: Apr 25, 2024 8:13 am
 - Full Name: can bilgiç
 - Contact:
 
- 
				david.domask
 - Veeam Software
 - Posts: 3042
 - Liked: 704 times
 - Joined: Jun 28, 2016 12:12 pm
 - Contact:
 
Re: job next run information
Hi can, 
Pass a VBRComputerBackupJob object returned by Get-VBRComputerBackupJob to Get-VBRJobScheduleOptions; there is a NextRun property on these objects. See below:
			
			
									
						
							Pass a VBRComputerBackupJob object returned by Get-VBRComputerBackupJob to Get-VBRJobScheduleOptions; there is a NextRun property on these objects. See below:
Code: Select all
$job = Get-VBRComputerBackupJob -Name "*mongo*"
Get-VBRJobScheduleOptions -Job $job | select NextRun, LatestRunLocal
NextRun             LatestRunLocal
-------             --------------
12.03.2025 22:00:00 12.03.2025 10:27:41David Domask | Product Management: Principal Analyst
			
						Who is online
Users browsing this forum: No registered users and 12 guests