Skip to content

Cron job: write tool returns error but file is actually written #29462

@Tommy00748

Description

@Tommy00748

问题描述

Cron job 的 持续显示 error,但文件实际上已经成功写入。

复现步骤

  1. 配置一个 cron job,使用 write 工具写入文件
  2. 观察 中的 和
  3. 检查实际文件系统,确认文件已成功创建/更新

实际结果

  • : "error"
  • : "⚠️ ✍️ Write: failed"
  • 但文件内容正确写入,没有丢失数据

预期结果

当文件成功写入时, 应为 "success",不应报错。

环境信息

  • OpenClaw 版本: 最新
  • macOS: Darwin 25.0.0 (arm64)
  • Model: MiniMax-M2.5

附加信息

  • 这是间歇性问题还是持续性问题: 持续
  • 写入工具返回值可能没有正确反映实际写入结果

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions