fix: fix: install_project_crons does not set PATH — claude not found in cron jobs (#366)
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Claude 2026-04-07 17:39:27 +00:00
parent 78c92dbdc4
commit 7e7fafd234

View file

@ -18,7 +18,8 @@ log() {
# Build crontab from project TOMLs and install for the agent user.
install_project_crons() {
local cron_lines="DISINTO_CONTAINER=1
local cron_lines="PATH=/usr/local/bin:/usr/bin:/bin
DISINTO_CONTAINER=1
USER=agent
FORGE_URL=http://forgejo:3000"