Skip to content

Scheduler error: 'fn3 is not a function' during job execution #15

Description

@EnochLi15

Summary

A scheduled job failed with an internal error fn3 is not a function.

Error Details

  • Error Message: fn3 is not a function. (In 'fn3(input)', 'fn3' is an instance of Object)
  • Logs:
=== Scheduled run 2026-04-16T20:14:05+0800 runId=1776341645.34404-261523404 ===
Error: Unexpected error, check log file at /Users/enoch/.local/share/opencode/log/2026-04-16T121406.log for more details

fn3 is not a function. (In 'fn3(input)', 'fn3' is an instance of Object)

=== Finished 2026-04-16T20:14:19+0800 status=failed exitCode=1 durationMs=14610 ===

Environment

  • Date: Thu Apr 16 2026
  • Platform: darwin
  • Tool used: schedule_job

Steps to Reproduce

  1. Schedule a simple prompt task using schedule_job.
  2. Wait for the task to execute.
  3. Observe failure in job_logs.

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