task-scheduler

Automate recurring task scheduling and queue-based job processing in Python.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/nguynbon03/API-XuongMedia-Backup --skill task-scheduler-nguynbon03
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: task-scheduler
Source: https://github.com/nguynbon03/API-XuongMedia-Backup/tree/main/.claude/skills/task-scheduler
Command: npx skills add https://github.com/nguynbon03/API-XuongMedia-Backup --skill task-scheduler-nguynbon03

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires apscheduler, and includes references (resource) components.

What problem does it solve?

Lập lịch và quản lý hàng đợi các task trong ứng dụng Python, giúp tự động hóa các công việc định kỳ và xử lý hàng loạt.

Core Features & Use Cases

  • Hỗ trợ chọn thư viện: APScheduler cho in-process scheduling, Celery + Redis cho distributed processing, cron (crontab) cho hệ thống, và rq cho hàng đợi nhẹ.
  • Hỗ trợ lập lịch cron/interval và xử lý hàng đợi theo ưu tiên, đảm bảo ghi log và theo dõi trạng thái task.
  • Hệ thống quy tắc và an toàn: timeout cho mỗi task, retry tối đa 3 lần, giới hạn đồng thời và lưu trạng thái để phục hồi sau restart.

Quick Start

Configure a scheduled task to run daily and process pending jobs from a queue using APScheduler or Celery.

Frequently Asked Questions about task-scheduler

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

FAQPage Schema
How do I schedule recurring tasks in Python and process queue jobs automatically?

Automate task scheduling in Python by configuring recurring jobs and processing queues using APScheduler for in-process execution or Celery with Redis for distributed processing.

What is the best way to handle task retries and timeouts in Python task scheduling?

Handle task retries and timeouts in Python task scheduling by applying a 3-retry limit and configuring per-task timeouts to ensure robust state persistence and logging.

Does APScheduler work with Redis for distributed Python job processing?

APScheduler handles in-process scheduling, while Celery paired with Redis manages distributed Python job processing, allowing you to choose the appropriate library for your scale.

How do I persist Python task scheduling state across application restarts?

Persist Python task scheduling state across restarts by utilizing the built-in state persistence features that restore recurring jobs and queue processing after an interruption.

Can I use cron and rq together for lightweight Python task queuing?

Yes, you can configure system-level cron scheduling alongside rq for lightweight Python task queuing, ensuring jobs run at intervals with robust logging and concurrency limits.