Skillshub laravel-task-scheduling

Task Scheduling

install
source · Clone the upstream repo
git clone https://github.com/ComeOnOliver/skillshub
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/ComeOnOliver/skillshub "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/noartem/skills/laravel-task-scheduling" ~/.claude/skills/comeonoliver-skillshub-laravel-task-scheduling && rm -rf "$T"
manifest: skills/noartem/skills/laravel-task-scheduling/SKILL.md
source content

Task Scheduling

Run scheduled tasks predictably across environments.

Commands

// routes/console.php
<?php

use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Schedule;

Schedule::command('reports:daily')
    ->dailyAt('01:00')
    ->withoutOverlapping()
    ->onOneServer()
    ->runInBackground()
    ->evenInMaintenanceMode();

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