Fix import script some more

2022-03-24
Luca 3 years ago
parent 2870d84a0a
commit 915b35c7b0

@ -1,12 +1,11 @@
#!/usr/bin/env php #!/usr/bin/env php
<?php <?php
use Engelsystem\Controllers\Admin\Schedule\ImportSchedule;
use ErrorException;
use stdClass;
require_once __DIR__ . '/../includes/application.php'; require_once __DIR__ . '/../includes/application.php';
require_once __DIR__ . '/../includes/pages/schedule/ImportSchedule.php';
use Engelsystem\Controllers\Admin\Schedule\ImportSchedule;
$script = array_shift($argv); $script = array_shift($argv);
if (count($argv) === 0) { if (count($argv) === 0) {
echo "usage: $script '*'|SCHEDULE_ID [SCHEDULE_ID...]" . PHP_EOL; echo "usage: $script '*'|SCHEDULE_ID [SCHEDULE_ID...]" . PHP_EOL;

Loading…
Cancel
Save