Laravel - Task Scheduling - Day Constraints

The days method may be used to limit the execution of a task to specific days of the week. For example, you may schedule a command to run hourly on Sundays and Wednesdays:

    
    $schedule->command('emails:send')
                    ->hourly()
                    ->days([0, 3]);
	

Alternatively, you may use the constants available on the Illuminate\Console\Scheduling\Schedule class when defining the days on which a task should run:

    
    use Illuminate\Console\Scheduling\Schedule;
    
    $schedule->command('emails:send')
                    ->hourly()
                    ->days([Schedule::SUNDAY, Schedule::WEDNESDAY]);