@ -18,7 +18,7 @@ $app = app();
$scheduleIds = $argv;
if ($argv[0] === '*') {
$db = $app->get('database');
$scheduleIds = array_map(fn(stdClass $schedule) => $schedule->id, $db->select('SELECT id FROM schedules');
$scheduleIds = array_map(fn(stdClass $schedule) => $schedule->id, $db->select('SELECT id FROM schedules'));
}
$importer = $app->get(ImportSchedule::class);