laravel:task-scheduling
CommunityReliable cron job execution
Authormeistro57
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill ensures that scheduled tasks within a Laravel application are executed reliably and predictably, preventing overlapping runs and managing execution across multiple servers.
Core Features & Use Cases
- Prevent Overlapping Jobs: Use
withoutOverlapping()to ensure a task doesn't run multiple times concurrently. - Server Coordination: Employ
onOneServer()for tasks that should only run on a single server in a distributed environment. - Maintenance Mode Handling: Configure tasks to run even when the application is in maintenance mode using
evenInMaintenanceMode(). - Use Case: Schedule a daily report generation command that must complete before the next day's report is due, ensuring no two report generations overlap.
Quick Start
Configure the daily report command to run at 1 AM daily, ensuring it does not overlap with previous runs and executes on only one server.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: laravel:task-scheduling Download link: https://github.com/meistro57/chat_bridge/archive/main.zip#laravel-task-scheduling Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.