Skip to content
Back to skills

Task Scheduling

ASecurity

Schedule 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
devopsphpnode

Security analysis

A100/100

Scanned June 6, 2026

npx -y skills add jpcaparas/superpowers-laravel --skill task-scheduling --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Task Scheduling?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Task Scheduling
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/jpcaparas-task-scheduling/badge)](https://www.skillsdirectory.com/skills/jpcaparas-task-scheduling)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.