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:
parent
e825611aec
commit
96fe19fe02
2
mkfile
2
mkfile
|
|
@ -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
|
||||
|
|
|
|||
Reference in New Issue