frappe-impl-scheduler

Automate and coordinate scheduled background jobs in Frappe v14–v16.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Automates and coordinates scheduled tasks and background jobs in Frappe to ensure reliable execution, governance, and scalability.

Core Features & Use Cases

  • Guidance for using scheduler_events, hooks.py, and enqueue for deterministic background processing across Frappe v14–v16.
  • Support for queue selection (short/default/long), deduplication, error handling, retries, and monitoring via Scheduled Job Log and RQ Dashboard.
  • Examples and reference workflows for common patterns like daily maintenance, data import, external API sync, and long-running tasks.

Quick Start

Configure a scheduler event in hooks.py for your task, run bench migrate, enable the scheduler, and verify the task runs on schedule.

Frequently Asked Questions about frappe-impl-scheduler

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

FAQPage Schema
How do I schedule background jobs in Frappe using hooks.py?

To schedule background jobs in Frappe, configure scheduler_events in hooks.py to define deterministic task execution intervals, run bench migrate, enable the scheduler, and verify the task runs on schedule.

What is the best way to prevent duplicate Frappe scheduled tasks from running simultaneously?

Prevent duplicate Frappe scheduled tasks by applying deduplication patterns before enqueuing jobs, ensuring only one instance of a task executes at a time and avoiding overlapping background job execution.

Does the Frappe scheduler support long-running jobs and external API sync across v14 to v16?

Yes, the Frappe scheduler supports long-running jobs, external API sync, and data import patterns across v14 to v16 by utilizing queue selection (short, default, long) and safe transaction handling for deterministic execution.

How do I monitor Frappe background jobs and check Scheduled Job Log errors?

Monitor Frappe background jobs by reviewing the Scheduled Job Log and using the RQ Dashboard, which provide structured guidance to track execution, capture errors, and verify queue processing status.

Why does my Frappe enqueue task fail to execute deterministically during data cleanup?

Frappe enqueue tasks fail deterministically during data cleanup when safe transaction handling is missing or the wrong queue is selected, causing incomplete jobs; applying structured retry and error handling patterns resolves this.