Page 1 of 1
Modify scheduled downtime
Posted: Wed Apr 15, 2015 12:17 pm
by snapon_admin
Is it possible to modify an existing scheduled downtime? I know you can modify recurring downtime, but for a one time schedule is there any way to modify that? If not, is this something that is even possible to add?
Re: Modify scheduled downtime
Posted: Wed Apr 15, 2015 12:23 pm
by abrist
Scheduled downtime cannot really be modified as it is added to retention.dat. You would have to remove it and then re-add it. I don't think this feature would receive much traction as it would require completely rewriting how downtime is handled in the code.
Re: Modify scheduled downtime
Posted: Wed Apr 15, 2015 2:50 pm
by snapon_admin
Damn, was afraid of that lol. It looks like that would be the case when you see how different scheduled downtime is compared to recurring downtime. I was hoping it'd be possible to have something similar to recurring downtime setup for one time downtime schedules, but kind of figured it'd be more complicated than that. Thanks for the quick reply Andy, I'll just try to not derp on the times next time I schedule downtime.

Re: Modify scheduled downtime
Posted: Wed Apr 15, 2015 3:12 pm
by abrist
I think it is important to note that recurring downtime is just a cron job that adds *regular* downtime when within the time window (processed on the top of the hour). So once that instance of recurring downtime has been added, altering the recurring schedule will not effect that specific instance, but the next one.