-
- Enthusiast
- Posts: 39
- Liked: 4 times
- Joined: Aug 20, 2014 1:00 pm
- Contact:
Script to change the NextRun date and time
I have a script that creates the replication job but want to also script changing the NextRun time to a specific date after the job has been scheduled..I found a couple of old topics but could not get them to work.
I'm running Veeam Backup & Replication 9.5.
Any ideas?
Thanks
I'm running Veeam Backup & Replication 9.5.
Any ideas?
Thanks
-
- Product Manager
- Posts: 20413
- Liked: 2302 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: Script to change the NextRun date and time
Just to be sure - you want to set a daily schedule for replication job as well as certain time of its execution? Thanks!
-
- Enthusiast
- Posts: 39
- Liked: 4 times
- Joined: Aug 20, 2014 1:00 pm
- Contact:
Re: Script to change the NextRun date and time
Yes.. I want to start on a specific day in the future.. then continue with a daily replication. Thanks.
-
- Product Manager
- Posts: 20413
- Liked: 2302 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: Script to change the NextRun date and time
With PS you cannot modify NextRun property, you can only tweak schedule options (the same way you do it in UI: daily, monthly, etc.).
What you can do is:
- Disable schedule for the said replication job
- To write a script that starts the replication job and sets daily schedule for it
- Set the script to run on specific day, using Windows Scheduler
Thanks!
What you can do is:
- Disable schedule for the said replication job
- To write a script that starts the replication job and sets daily schedule for it
- Set the script to run on specific day, using Windows Scheduler
Thanks!
-
- Enthusiast
- Posts: 39
- Liked: 4 times
- Joined: Aug 20, 2014 1:00 pm
- Contact:
Re: Script to change the NextRun date and time
Ok, so to be clear, you can't change the NextRun property to a date like: 05/28/19?
thanks, I'll look at your suggestion.
thanks, I'll look at your suggestion.
-
- Product Manager
- Posts: 20413
- Liked: 2302 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: Script to change the NextRun date and time
Nope, you cannot. Thanks!
Who is online
Users browsing this forum: Amazon [Bot] and 6 guests