frappe-syntax-scheduler

Document and analyze Frappe scheduler events configuration in hooks.py.

163|53|Updated Jan 14, 2026
One-click install
npx skills add https://github.com/OpenAEC-Foundation/Frappe_Claude_Skill_Package --skill frappe-syntax-scheduler
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: frappe-syntax-scheduler
Source: https://github.com/OpenAEC-Foundation/Frappe_Claude_Skill_Package/tree/main/skills/source/syntax/frappe-syntax-scheduler
Command: npx skills add https://github.com/OpenAEC-Foundation/Frappe_Claude_Skill_Package --skill frappe-syntax-scheduler

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill clarifies and codifies how to configure and reason about Frappe scheduler events and background jobs, including standard events, long-queue tasks, and cron-based triggers.

Core Features & Use Cases

  • Provides a canonical reference for the scheduler_events hook, queue selection, and cron syntax.
  • Documents best practices for deduplication, enqueue patterns, error handling, and monitoring.
  • Use cases include multi-app deployments, multi-site setups, and cross-app task orchestration.

Quick Start

Define your scheduler events in hooks.py and run bench migrate to activate changes.

Frequently Asked Questions about frappe-syntax-scheduler

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

FAQPage Schema
How do I configure Frappe scheduler events in hooks.py?

To configure Frappe scheduler events, define standard events, long-queue tasks, and cron-based triggers within the scheduler_events hook in hooks.py. Run bench migrate to activate the background job changes.

What is the best way to handle background jobs in a multi-site Frappe deployment?

For multi-site Frappe deployments, apply deterministic scheduling patterns by standardizing queue selection, enqueue API usage, and cross-app task orchestration to ensure reliable background processing.

Can I use cron expressions for Frappe background tasks?

Yes, you can use cron expressions for Frappe background tasks. The scheduler_events hook supports cron-based triggers alongside standard and long-queue events, enabling deterministic scheduling for Frappe apps.

How do I monitor Frappe scheduler errors and deduplicate background jobs?

To monitor Frappe scheduler errors and deduplicate background jobs, implement documented error handling and enqueue patterns. Use monitoring tools to track queue execution and ensure reliable background processing.

Does Frappe support long-queue tasks for heavy background processing?

Yes, Frappe supports long-queue tasks for heavy background processing. You can define long-queue events in the scheduler_events hook within hooks.py, separating them from standard events to optimize queue selection.

Why are my Frappe scheduler events not triggering after updating hooks.py?

Frappe scheduler events may not trigger if you have not run bench migrate after updating hooks.py. Ensure queue selection, enqueue API usage, and cron syntax are correctly defined to activate deterministic scheduling reliably.