예제 #1
0
<?php

if (php_sapi_name() != "cli") {
    echo 'No permission';
}
require_once 'config/config.php';
require_once 'vendor/OutOfSync.php';
$oos = new OutOfSync();
$oos->initTable();
예제 #2
0
<?php

if (php_sapi_name() != "cli") {
    echo 'No permission';
    exit;
}
require_once 'config/config.php';
require_once 'vendor/OutOfSync.php';
$oos = new OutOfSync();
$oos->runCron();
예제 #3
0
<?php

require_once 'config/config.php';
require_once 'vendor/OutOfSync.php';
$oos = new OutOfSync();
$oos->runAPI();