diff --git a/check_router_reboot.jl b/check_router_reboot.jl index 9e606ef..8e6ba9b 100644 --- a/check_router_reboot.jl +++ b/check_router_reboot.jl @@ -20,7 +20,7 @@ const ATTEMPTS_PER_CHECK = 3 # number of ping attempts per check const BACKOFF_BETWEEN_ATTEMPTS = 60 # seconds between attempts const FAILS_TO_REBOOT = 3 # consecutive failed checks required to trigger reboot const COOLDOWN_AFTER_REBOOT_SECS = 600 # do not reboot again within this many seconds -const DRY_RUN = true # set false to actually reboot +const DRY_RUN = false # set false to actually reboot const CHECK_INTERVAL_SECS = 60 # run a check every CHECK_INTERVAL_SECS seconds const thisFolderPath = @__DIR__