1234567891011121314151617181920 |
- <?php
- define('BASE_ROOT_PATH',str_replace('/crontab','',dirname(__FILE__)));
- define('BASE_PATH',BASE_ROOT_PATH . '/crontab');
- define('BASE_DATA_PATH',BASE_ROOT_PATH . '/data');
- define('APP_ID','crontab');
- require_once(BASE_ROOT_PATH . '/other/config.ini.php');
- require_once(BASE_ROOT_PATH . '/extend/queue.php');
- require_once(BASE_ROOT_PATH . '/extend/queue.logic.php');
- require_once(BASE_ROOT_PATH . '/extend/log.php');
- require_once(BASE_ROOT_PATH . '/extend/http.php');
- Log::record("Crontab startHandling something....",Log::DEBUG);
- $logic_queue = new queue_logic();
- $logic_queue->UpdateAllBoxState();
|