Bug Description
When using cron jobs with agentTurn payload, the job reports "job execution timed out" even though the underlying script executes successfully. The result is never delivered to the configured channel.
Environment
- OpenClaw version: 2026.3.28
- macOS
- Provider: minimax/MiniMax-M2.7
Steps to Reproduce
- Create a cron job with
agentTurn payload that runs a bash script
- Observe the cron runs over time
Expected Behavior
- Script executes successfully
- Output is delivered to the configured channel (WeChat)
Actual Behavior
- Script does execute successfully (confirmed via script-side logging — curl exits 0, all steps complete)
- But cron reports:
cron: job execution timed out
- deliveryStatus: unknown — no message reaches WeChat
Evidence
Script-side log — shows script executes correctly:
[2026-03-31 10:30:04] 脚本开始启动
[2026-03-31 10:30:04] API 请求完成,curl 退出码=0
[DEBUG] 脚本执行完毕
🤖 MiniMax 用量报告 2026-03-31 10:30
Cron runs log — shows timeout:
runAtMs: 1774927800034 (10:30)
durationMs: 120015
status: error
error: "cron: job execution timed out"
deliveryStatus: "unknown"
Additional Observations
- Direct script execution via curl to MiniMax API works fine
- The issue appears to be that isolated session AI API calls timeout
- gateway.err.log shows:
Profile minimax:cn timed out. Trying next account...
- The isolated session's MiniMax API connection is unstable
Questions
- How does an isolated session connect to the MiniMax AI API?
- What is the "Profile minimax:cn" and why does it timeout while direct curl to MiniMax API succeeds?
- Is there a way to execute scripts without going through the AI API layer for delivery?
Bug Description
When using cron jobs with
agentTurnpayload, the job reports "job execution timed out" even though the underlying script executes successfully. The result is never delivered to the configured channel.Environment
Steps to Reproduce
agentTurnpayload that runs a bash scriptExpected Behavior
Actual Behavior
cron: job execution timed outEvidence
Script-side log — shows script executes correctly:
Cron runs log — shows timeout:
Additional Observations
Profile minimax:cn timed out. Trying next account...Questions