|
|
@ -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;
|
|
|
|