added running as a service instead of cronjob
parent
242b56128b
commit
cf1be9740a
@ -0,0 +1,8 @@
|
|||||||
|
<?php
|
||||||
|
require_once('config.inc.php');
|
||||||
|
require_once($framework);
|
||||||
|
$server = TeamSpeak3::factory('serverquery://'.$user.':'.$passwd.'@'.$host.':'.$queryport.'/?server_port='.$voiceport);
|
||||||
|
|
||||||
|
while(true) {
|
||||||
|
require_once('cronjob.php');
|
||||||
|
}
|
Loading…
Reference in New Issue