boxlang-scheduled-tasks

Schedule BoxLang workloads via Scheduler DSL and bx:schedule endpoints.

Updated Apr 10, 2026
One-click install
npx skills add https://github.com/ortus-boxlang/skills --skill boxlang-scheduled-tasks-ortus-boxlang
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: boxlang-scheduled-tasks
Source: https://github.com/ortus-boxlang/skills/tree/main/boxlang-developer/scheduled-tasks
Command: npx skills add https://github.com/ortus-boxlang/skills --skill boxlang-scheduled-tasks-ortus-boxlang

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Schedule and manage BoxLang workloads using both the Scheduler DSL and the bx:schedule HTTP endpoints, with app-level discovery and lifecycle integration.

Core Features & Use Cases

  • Scheduler DSL: define tasks with BaseScheduler and ScheduledTask, enabling fluent registration and in-process execution.
  • bx:schedule: create, pause, resume, and run HTTP-driven tasks with persistent definitions.
  • Application integration: auto-discovery via Application.bx and app lifecycle management for startup and shutdown.

Quick Start

Register your scheduler class in Application.bx and start it with schedulerStart to begin executing scheduled tasks.

Frequently Asked Questions about boxlang-scheduled-tasks

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

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

Schedule recurring tasks in a BoxLang application by defining them with the BaseScheduler and ScheduledTask DSL, enabling fluent registration and in-process execution for persistent workloads.

Can I trigger scheduled tasks via HTTP endpoints in BoxLang?

Yes, you can use the bx:schedule HTTP endpoints to create, pause, resume, and run HTTP-driven tasks with persistent definitions, allowing external triggers to interact with your scheduled workloads.

How do I integrate scheduled tasks with the BoxLang application lifecycle?

Integrate scheduled tasks with the BoxLang application lifecycle by registering your scheduler class in Application.bx, then using app lifecycle management hooks for startup and shutdown operations.

Does BoxLang support cron expressions for task scheduling?

Yes, BoxLang supports cron expressions for task scheduling, allowing you to define precise time-based triggers alongside the Scheduler DSL for reliable and persistent task execution.

What built-in functions manage the scheduler in BoxLang?

BoxLang provides schedulerStart, schedulerGet, and schedulerStats built-in functions to start your registered scheduler, retrieve specific instances, and monitor execution statistics.

What is the best way to auto-discover schedulers in a BoxLang app?

The best way to auto-discover schedulers in a BoxLang app is through Application.bx, which provides application-level discovery and lifecycle integration for your BaseScheduler classes.