TIP 05 / 12

Run Artisan Commands on Specific Environments.

Take control of your Laravel scheduled commands. Run them on specific environments for ultimate flexibility.

php
$schedule->command('reports:send')
    ->daily()
    ->environments(['production', 'staging']);