scheduler

Schedule one-time, cron, and interval AI tasks via CLI.

1.1k|123|Updated Feb 2, 2026
One-click install
npx skills add https://github.com/zylos-ai/zylos-core --skill scheduler-zylos-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: scheduler
Source: https://github.com/zylos-ai/zylos-core/tree/main/skills/scheduler
Command: npx skills add https://github.com/zylos-ai/zylos-core --skill scheduler-zylos-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires better-sqlite3, chrono-node, cron-parser, dotenv, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill allows you to schedule tasks for your AI to execute at specific times, on recurring intervals, or after a set duration, ensuring that your AI can perform actions autonomously even when you're not actively interacting with it.

Core Features & Use Cases

  • One-time Scheduling: Schedule tasks for a single future execution using --in or --at flags.
  • Recurring Tasks: Set up tasks to run repeatedly based on cron expressions using the --cron flag.
  • Interval Tasks: Define tasks that repeat at a fixed interval using the --every flag.
  • Priority & Idle Control: Assign priorities to tasks and specify if they require the AI to be idle.
  • Use Case: Schedule a daily report generation at 9 AM, set a weekly system health check, or create a reminder for yourself in 30 minutes.

Quick Start

Use the scheduler skill to add a task that will run in 1 hour.

Frequently Asked Questions about scheduler

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I schedule AI tasks for recurring or time-based execution?

Scheduling AI tasks for recurring or time-based execution involves using a CLI to create one-time, cron, or interval dispatches. You define execution timing and priority requirements so the AI runs autonomously without active interaction.

What is the best way to set up a cron job for an AI agent?

Setting up a cron job for an AI agent is done by passing cron expressions via the `--cron` flag in the task scheduler CLI. This triggers recurring task dispatching through the communication bridge with robust timezone handling.

Can I schedule a task to run only when my AI is idle?

Yes, you can schedule tasks requiring the AI to be idle by setting idle constraints during task creation. The scheduler dispatches these tasks only when the AI is inactive, preventing execution conflicts with active interactions.

Does the task scheduler support one-time execution after a set duration?

Yes, the task scheduler supports one-time execution after a set duration using the `--in` flag. It dispatches single future tasks autonomously via the communication bridge, avoiding the need for recurring cron setups.

What dependencies are required to run a cron-based task scheduler?

Dependencies required to run a cron-based task scheduler include `cron-parser` for expression syntax, `chrono-node` for time parsing, and `better-sqlite3` for task lifecycle storage. These enable robust timezone handling and error reporting.

Why are my scheduled tasks not dispatching at the correct time?

Scheduled tasks not dispatching at the correct time usually stem from misconfigured timezone settings or invalid cron syntax. The scheduler uses `cron-parser` and robust timezone handling to prevent execution timing errors.