stacks-scheduler

Schedule recurring tasks in Stacks applications using cron-like expressions.

622|17|Updated Apr 26, 2022
One-click install
npx skills add https://github.com/stacksjs/stacks --skill stacks-scheduler
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: stacks-scheduler
Source: https://github.com/stacksjs/stacks/tree/main/.claude/skills/stacks-scheduler
Command: npx skills add https://github.com/stacksjs/stacks --skill stacks-scheduler

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Scheduling recurring tasks in Stacks applications, enabling automated background work without boilerplate.

Core Features & Use Cases

  • Define tasks in app/Scheduler.ts
  • Use cron-like expressions via @stacksjs/cron to schedule actions, jobs, or functions
  • Supports daily, hourly, weekly, and custom intervals for maintenance, data syncing, and automation

Quick Start

Define tasks in app/Scheduler.ts using schedule.daily or schedule.everyMinute to schedule recurring work in your Stacks application.

Frequently Asked Questions about stacks-scheduler

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

FAQPage Schema
How do I schedule recurring background tasks in a Stacks application?

To schedule recurring background tasks in a Stacks application, define your timed actions using cron-like expressions in the app/Scheduler.ts file. This method enables automated jobs for maintenance and data syncing without writing extra boilerplate code.

What cron-like timing intervals can I use for Stacks automation tasks?

Stacks automation tasks support daily, hourly, weekly, and custom cron-like intervals. You define these timing expressions in the app/Scheduler.ts file to execute periodic functions such as data syncing or routine maintenance jobs.

Do I need to install external dependencies to set up cron jobs in Stacks?

Setting up cron jobs in Stacks requires no external dependencies. You use the built-in @stacksjs/scheduler package and define your scheduled actions directly within the application's app/Scheduler.ts file to run automated background work.

What's the best way to run automated maintenance jobs without boilerplate in Stacks?

The best way to run automated maintenance jobs without boilerplate in Stacks is using the schedule.daily or schedule.everyMinute methods in app/Scheduler.ts. This built-in scheduler applies cron-like timing to execute periodic actions seamlessly.

Where do I define periodic functions for data syncing in a Stacks project?

Periodic functions for data syncing in a Stacks project are defined in the app/Scheduler.ts file. You use the Stacks task runner with cron-support to establish the schedule and execute the timed actions automatically in the background.