weegloo-scheduler

Configure cron-based Schedulers in Weegloo Spaces that run one Script on a UTC schedule.

1|2|Updated Feb 20, 2026
One-click install
npx skills add https://github.com/weeglooapi/weegloo-mcp-plugin --skill weegloo-scheduler-weeglooapi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: weegloo-scheduler
Source: https://github.com/weeglooapi/weegloo-mcp-plugin/tree/main/plugins/weegloo/skills/weegloo-scheduler
Command: npx skills add https://github.com/weeglooapi/weegloo-mcp-plugin --skill weegloo-scheduler-weeglooapi

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Recurring server-side work like nightly aggregations, cleanup sweeps, periodic third-party syncs, and digest emails needs a reliable time-based trigger, and this Skill guides you through creating and managing Weegloo Schedulers that fire one Script on a cron schedule without a caller or payload. ## Core Features & Use Cases - Cron Scheduling in UTC: Create Schedulers with five-field cron expressions read in UTC, with validation that rejects expressions that can never fire and guidance on day-shift bugs when converting from local timezones. - Permission and Quota Management: Enforce the two required grants (SETTING_SCHEDULER plus script.Execute re-checked before every run) and size schedules against the Organization's monthly Script-execution allowance. - Run History and Failure Semantics: Inspect short-lived SchedulerExecution records, understand at-most-once runs, no catch-up of missed occurrences, and automatic deactivation when grants or quota are lost. - Use Case: Set up an hourly sync that fetches exchange rates from an external API and upserts them into Content, running as the Scheduler's creator with directCallEnabled disabled so only the clock can trigger it. ## Quick Start Ask the agent to create a Weegloo Scheduler in your Space that runs a specific Script every hour on the hour using a UTC cron expression.

Frequently Asked Questions about weegloo-scheduler

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

FAQPage Schema
How do I create a cron-scheduled task in Weegloo?

Create a Scheduler in a Space via POST /v1/spaces/{spaceId}/schedulers or the cma_CreateScheduler MCP tool with a name, an immutable Script reference, a five-field UTC cron expression, and activated set to true. The creator needs SETTING_SCHEDULER plus script.Execute on that Script.

Scheduler vs Webhook vs Script execute in Weegloo?

Choose by what starts the run: a Scheduler fires on the clock, a Webhook fires on Space events like content created or deleted, and /execute runs when a caller invokes it. Use a Scheduler only for time-based recurring work.

Does Weegloo Scheduler support seconds or timezone fields in cron?

No. The cron expression has five fields with one minute as the finest granularity, no seconds field, no @macros, and no timeZone field. Every expression is read in UTC, so convert from the user's local zone before saving.

Why did my Weegloo Scheduler get deactivated automatically?

A Scheduler is deactivated when the creator loses the script.Execute grant, which is re-checked before every run, or when the Organization's monthly Script-execution allowance is exhausted. It is not rescheduled automatically; someone must set activated back to true.

Can I change which Script a Weegloo Scheduler runs?

No. The script reference is stored under sys.script and is immutable; update bodies only carry name, cronExpression, and activated. To run a different Script, delete the Scheduler and create a new one.

What payload does a scheduled Script receive in Weegloo?

None. A scheduled run passes no payload, raw body, or headers, so payload and header references are empty. The Script has access to /now, its own vars, and whatever it reads via ResourceFind, ResourceRead, or Http.