Back to skills
SKILL.md
Task Scheduling
ASecuritySchedule tasks with safety; use withoutOverlapping, onOneServer, and visibility settings for reliable cron execution
- 147 stars
- 0 votes
- 0 copies
- 1 view
- Added June 6, 2026
Security analysis
100/100npx -y skills add jpcaparas/superpowers-laravel --skill task-scheduling --agent claude-codeAre you the author of Task Scheduling?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/jpcaparas-task-scheduling)---
name: laravel:task-scheduling
description: Schedule tasks with safety; use withoutOverlapping, onOneServer, and visibility settings for reliable cron execution
---
# Task Scheduling
Run scheduled tasks predictably across environments.
## Commands
```
// app/Console/Kernel.php
protected function schedule(Schedule $schedule): void
{
$schedule->command('reports:daily')
->dailyAt('01:00')
->withoutOverlapping()
->onOneServer()
->runInBackground()
->evenInMaintenanceMode();
}
# Run the scheduler from cron
* * * * * cd /var/www/app && php artisan schedule:run >> /dev/null 2>&1
```
## Patterns
- Guard long-running commands with `withoutOverlapping()`
- Use `onOneServer()` when running on multiple nodes
- Emit logs/metrics for visibility; consider notifications on failure
- Feature-flag risky jobs via config/env
Attribution
Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.