From f0e0bf4db8d9cea948352d9d54b804e0161bd97a Mon Sep 17 00:00:00 2001 From: narawat lamaiin Date: Fri, 20 Mar 2026 09:19:23 +0700 Subject: [PATCH] update --- check_router_reboot.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/check_router_reboot.jl b/check_router_reboot.jl index a342f77..c277af5 100644 --- a/check_router_reboot.jl +++ b/check_router_reboot.jl @@ -9,7 +9,7 @@ # ------------------------------------------------------------------------------------------------ # # *** juliar is root's julia (sudo crontab -e) but I symlinked to juliar because I want to seperate it from user's julia # @reboot /usr/local/bin/juliar /home/ton/docker-programs/check_and_reboot/check_router_reboot.jl >> /var/log/check_reboot.log 2>&1 -# @reboot /root/.juliaup/bin/julia /root/docker-apps/check_and_reboot/check_router_reboot.jl >> /var/log/check_reboot.log 2>&1 +# @reboot sleep 30 && /root/.juliaup/bin/julia /root/docker-apps/check_and_reboot/check_router_reboot.jl >> /var/log/check_reboot.log 2>&1 using Dates, Printf, JSON