cron-install: use $HOME/plan9 for PLAN9 instead of unbound $PLAN9

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Levi Neely 2026-03-15 15:14:42 +01:00
parent e825611aec
commit 96fe19fe02
1 changed files with 1 additions and 1 deletions

2
mkfile
View File

@ -59,7 +59,7 @@ install:V: build
cron-install:V:
mkdir -p $HOME/.local/share/anvillm
crontab -l 2>/dev/null | grep -v 'anvillm-supervisor' | grep -v '^PLAN9=' | grep -v '^PATH=' >/tmp/crontab.new || true
echo "PLAN9=$PLAN9" >>/tmp/crontab.new
echo "PLAN9=$HOME/plan9" >>/tmp/crontab.new
echo "PATH=$PATH" >>/tmp/crontab.new
echo "*/5 * * * * $HOME/bin/anvillm-supervisor --orphans >>$HOME/.local/share/anvillm/worker-check.log 2>&1" >>/tmp/crontab.new
echo "*/1 * * * * $HOME/bin/anvillm-supervisor --nudge >>$HOME/.local/share/anvillm/worker-check.log 2>&1" >>/tmp/crontab.new