stacks-cron

Parse cron expressions and register OS-level job schedules in Stacks applications.

2|Updated Jul 8, 2026
One-click install
npx skills add https://github.com/bughq/bughq --skill stacks-cron-bughq
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: stacks-cron
Source: https://github.com/bughq/bughq/tree/main/.claude/skills/stacks-cron
Command: npx skills add https://github.com/bughq/bughq --skill stacks-cron-bughq

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill simplifies the management of time-based tasks by providing a unified interface for parsing cron expressions and registering OS-level jobs within a Stacks application.

Core Features & Use Cases

  • Cron Parsing: Convert complex cron strings into precise UTC execution dates.
  • OS-Level Registration: Register and manage system-level cron jobs directly from your application code.
  • Use Case: Use this to schedule recurring background tasks like database cleanups or report generation by defining the schedule and the target script handler.

Quick Start

Use the stacks-cron skill to register a new daily job that executes the cleanup script at midnight.

Frequently Asked Questions about stacks-cron

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?

You can schedule recurring background tasks by parsing cron expressions and registering OS-level job schedules within your Stacks application to automate routines like database cleanups or report generation.

Does the Stacks cron scheduling skill require a specific runtime environment?

Yes, cron scheduling in Stacks requires the Bun runtime environment and access to the @stacksjs/cron package to properly parse expressions and execute system-level job schedules.

Can I convert complex cron strings into precise UTC execution dates using Stacks?

Yes, Stacks provides native-like cron syntax support to parse complex cron strings and convert them into precise UTC execution dates for your scheduled background tasks.

What is the best way to manage OS-level cron jobs from a TypeScript backend?

Managing OS-level cron jobs from a TypeScript backend is best done using a unified interface that registers system-level schedules and handles the job lifecycle directly within your Stacks application.

How do I register a daily cleanup script to run at midnight using cron?

You register a daily cleanup script at midnight by using the stacks-cron skill to define the cron schedule and link it to your target script handler for automatic OS-level execution.