-
Notifications
You must be signed in to change notification settings - Fork 292
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
check-routeros-update and other similar scripts suggested scheduler time #56
Comments
The primary intend here is to notify the user on update. If device is configured to install updates automatically it may make sense to schedule at night. You are free to change that to your needs. |
Still IMO changing the suggested time to the night would serve both
purposes just fine.
…On Thu, Jan 25, 2024 at 4:52 PM Christian Hesse ***@***.***> wrote:
The primary intend here is to notify the user on update. If device is
configured to install updates automatically it may make sense to schedule
at night. You are free to change that to your needs.
—
Reply to this email directly, view it on GitHub
<#56 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AADIJAAMN5BAQVMN7XRHBFTYQJ5SNAVCNFSM6AAAAABCKXT2S6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJQGQ4DKMBTGU>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Hmm, we have a mechanism to schedule the reboot at night... Perhaps we should just add a confirmation option to always schedule the reboot on automated update? |
Do you mean to schedule it with this change, instead of directly rebooting?
…On Thu, Jan 25, 2024 at 4:55 PM Christian Hesse ***@***.***> wrote:
Hmm, we have a mechanism to schedule the reboot at night... Perhaps we
should just add a confirmation option to always schedule the reboot on
automated update?
—
Reply to this email directly, view it on GitHub
<#56 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AADIJACZDUGPPFNVCCLVDMTYQJ56LAVCNFSM6AAAAABCKXT2S6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJQGQ4TCMBVGE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Yes. Packages are installed immediately, and reboot is scheduled if configured - just like you do when running There is another reason I want the check to be scheduled after startup: I want to avoid making all devices in a network to download the packages at the exact time. Scheduling that way is easy to achieve it. |
Ok, thanks for the clarification.
I think it makes a lot of sense to implement it this way indeed.
…On Thu, Jan 25, 2024 at 5:24 PM Christian Hesse ***@***.***> wrote:
Yes. Packages are installed immediately, and reboot is scheduled if
configured - just like you do when running packages-update interactively
from terminal.
There is another reason I want the check to be scheduled after startup: I
want to avoid making all devices in a network to download the packages at
the exact time. Scheduling that way is easy to achieve it.
—
Reply to this email directly, view it on GitHub
<#56 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AADIJAGPV73SOVSYA7EJAALYQKBLXAVCNFSM6AAAAABCKXT2S6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJQGU2DSMJXHA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Pushed changes to the |
Yes, please!
…On Fri, Jan 26, 2024 at 9:28 AM Christian Hesse ***@***.***> wrote:
Pushed changes to the next branch... Do you want to give it a try?
—
Reply to this email directly, view it on GitHub
<#56 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AADIJADMGM7RWPPRXRRSQP3YQNSLLAVCNFSM6AAAAABCKXT2S6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJRGY3DCOBTGE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
But what's the process of trying it then?
On Fri, Jan 26, 2024 at 11:10 AM Anatoly Bubenkov ***@***.***>
wrote:
… Yes, please!
On Fri, Jan 26, 2024 at 9:28 AM Christian Hesse ***@***.***>
wrote:
> Pushed changes to the next branch... Do you want to give it a try?
>
> —
> Reply to this email directly, view it on GitHub
> <#56 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AADIJADMGM7RWPPRXRRSQP3YQNSLLAVCNFSM6AAAAABCKXT2S6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJRGY3DCOBTGE>
> .
> You are receiving this because you authored the thread.Message ID:
> ***@***.***>
>
|
@eworm-de the router got autoupdated last night, and the |
There is logging, it gives something like:
And it works for me. |
Ok thanks, maybe I've missed it indeed, as I only have a memory log there. |
In the check-routeros-update script's docs, it's suggested to use the 'startup' time of the script to be scheduled.
For such actions, it seems more logical to schedule it at night instead, as the update shouldn't normally happen in the busy time.
The text was updated successfully, but these errors were encountered: