klytos-scheduled-actions

Schedule, cancel, and query background actions in Klytos CMS.

12|2|Updated Mar 26, 2026
One-click install
npx skills add https://github.com/joseconti/klytos --skill klytos-scheduled-actions
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: klytos-scheduled-actions
Source: https://github.com/joseconti/klytos/tree/main/.claude/skills/klytos-scheduled-actions
Command: npx skills add https://github.com/joseconti/klytos --skill klytos-scheduled-actions

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Scheduling and coordinating background tasks in Klytos CMS to run automatically, reliably, and on a defined cadence.

Core Features & Use Cases

  • Schedule one-time actions with a timestamp using klytos_schedule_single_action, including hook and args.
  • Schedule recurring actions with an interval using klytos_schedule_recurring_action, with grouping and retries.
  • Cancel, query, and manage scheduled actions via APIs like klytos_cancel_scheduled_action, klytos_next_scheduled_action, and klytos_is_scheduled_action.
  • Supports both Action Scheduler (primary) and CronManager (legacy), with server cron as the primary path and admin page fallback for environments without server cron.

Quick Start

Create a recurring action to run daily for your plugin using klytos_schedule_recurring_action.

Frequently Asked Questions about klytos-scheduled-actions

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

FAQPage Schema
How do I schedule recurring background tasks in PHP without server cron access?

To schedule recurring background tasks without server cron, use an action scheduler with an admin-page fallback. This mechanism processes deferred PHP tasks automatically by triggering queued actions during routine admin page loads.

How do I schedule a one-time deferred action with a specific timestamp in PHP?

To schedule a one-time deferred action with a specific timestamp in PHP, call a single action scheduling function. You pass the target timestamp, hook name, and arguments to queue the task for execution at that exact future time.

Can I query and cancel scheduled background jobs programmatically in PHP?

Yes, you can query and cancel scheduled background jobs programmatically in PHP. Dedicated APIs allow you to check the next scheduled timestamp, verify if an action is queued, and cancel pending tasks by hook name or arguments.

Does the action scheduler support grouping tasks and retry logic for failed API syncs?

Yes, the action scheduler supports grouping tasks and retry logic for failed API syncs. You can assign recurring actions to specific groups and configure optional retries to ensure failed background jobs are automatically reattempted.

What is the difference between Action Scheduler and legacy CronManager for PHP plugin development?

The difference between Action Scheduler and legacy CronManager for PHP plugin development is that Action Scheduler serves as the primary system for reliable background tasks, while CronManager is maintained solely for legacy job compatibility.