金曜日と土曜日は実行させない(skipする)で、それ以外の曜日は10:00, 17:00に実行させる
kernel.php
$schedule->command('app:command')
->skip(function (){
$today = Carbon::today();
return $today->isFriday() | $today->isSaturday();
})->twiceDaily(10, 17);
Carbon
使わなくても、
kernel.php
$schedule->command('app:command')
->mondays()
->tuesdays()
->wednesdays()
->thursdays()
->saturdays()
->twiceDaily(10, 17);
でいける。