Skip to content

[Bug] Cron Job Missing Audit Trail - Cannot Track Job Create/Delete Operations #24977

@Ivy-End

Description

@Ivy-End

Problem Description

OpenClaw Cron does not have audit logs for job create and delete operations, making it impossible to track:

  1. When a job was created
  2. When a job was deleted
  3. What triggered the job change

Steps to Reproduce

  1. Create a cron job: openclaw cron add test "0 8 * * *"
  2. Check logs: openclaw logs or view /tmp/openclaw/openclaw-*.log
  3. Result: No "job added" log entry found

Expected Behavior

Each job create/delete/update operation should be logged, including:

  • Operation type (create/delete/update)
  • Operation timestamp
  • Job ID and name
  • Operator (CLI/API/scheduler)

Actual Behavior

  • Jobs are silently created/deleted without any log entries
  • Cannot trace the lifecycle of jobs

Environment

  • OpenClaw version: Latest (v22.22.0)
  • Platform: Linux
  • Date: 2026-02-24

Related Logs

  • Job created at: 00:17:23 (no log entry)
  • Job deleted at: Unknown (no log entry)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions