You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

opencode-scheduler

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

opencode-scheduler

OpenCode plugin for scheduling recurring jobs (launchd/systemd)

Source
npmnpm
Version
0.1.0
Version published
Weekly downloads
3.8K
26.25%
Maintainers
1
Weekly downloads
 
Created
Source

opencode-scheduler

OpenCode plugin for scheduling recurring jobs via launchd (Mac) or systemd (Linux). Jobs are stored in ~/.config/opencode/jobs/.

Installation

npm install -g opencode-scheduler
# or
bun add -g opencode-scheduler

Usage

Add the plugin to your opencode.json:

{
  "$schema": "https://opencode.ai/config.json",
  "plugin": ["opencode-scheduler"]
}

Available Tools

  • schedule_job - Schedule a recurring job

    • name: Short name for the job
    • schedule: Cron expression (e.g., 0 9 * * * for daily 9am)
    • prompt: The prompt to run
    • source (optional): Source app for filtering
    • workdir (optional): Working directory (for MCP config)
  • list_jobs - List all scheduled jobs (optionally filter by source)

  • run_job - Run a scheduled job immediately

  • delete_job - Delete a scheduled job

  • job_logs - View logs from a scheduled job

Features

  • Survives reboots
  • Catches up on missed runs (if computer was asleep)
  • Cross-platform (macOS + Linux)

Examples

# Schedule a daily job at 9am to search for standing desks
schedule_job name="standing desk search" schedule="0 9 * * *" prompt="Search FB Marketplace for standing desks"

# Run a job immediately
run_job name="standing desk search"

# List all jobs
list_jobs

# View job logs
job_logs name="standing desk search"

# Delete a job
delete_job name="standing desk search"

How It Works

  • Jobs are persisted to ~/.config/opencode/jobs/
  • launchd (Mac) or systemd (Linux) timers are created/updated
  • Logs stored in ~/.config/opencode/logs/

Requirements

  • OpenCode v1.0.0 or later
  • macOS or Linux

License

MIT

Keywords

opencode

FAQs

Package last updated on 06 Jan 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts