This commit is contained in:
2026-03-20 15:07:06 +07:00
parent 231051bd8f
commit 2d1f10cd26
3 changed files with 150 additions and 11 deletions

View File

@@ -8,11 +8,11 @@
# add the following to root's crontab (sudo crontab -e) #
# ------------------------------------------------------------------------------------------------ #
# ------------------------------- For PC with multiple user account ------------------------------ #
# @reboot sleep 30 && /usr/local/bin/juliar /home/ton/docker-programs/check_and_reboot/check_router_reboot.jl >> /var/log/check_reboot.log 2>&1
# *** juliar is root's julia (sudo crontab -e) but I symlinked to juliar because I want to seperate it from user's julia
# ---------------- For PC that has juliar for root user and julia for normal user ---------------- #
# @reboot sleep 30 && /usr/local/bin/juliar --project=/home/ton/docker-programs/check_and_reboot/check_router_reboot.jl >> /var/log/check_reboot.log 2>&1
# *** juliar is julia that I install separately for root user (sudo crontab -e) which I symlinked to juliar because I want to separate it from user's julia
# ---------------------- For PC with only root user account such as Proxmox ---------------------- #
# ---------------------------------- For PC that has only julia ---------------------------------- #
# @reboot sleep 30 && /root/.juliaup/bin/julia /root/docker-apps/check_and_reboot/check_router_reboot.jl >> /var/log/check_reboot.log 2>&1