|
|
@ -18,7 +18,7 @@ $app = app();
|
|
|
|
$scheduleIds = $argv;
|
|
|
|
$scheduleIds = $argv;
|
|
|
|
if ($argv[0] === '*') {
|
|
|
|
if ($argv[0] === '*') {
|
|
|
|
$db = $app->get('database');
|
|
|
|
$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);
|
|
|
|
$importer = $app->get(ImportSchedule::class);
|
|
|
|