Folgende php Datei würde ich gern über den CronTab automtisch ausführen lassen, einfach Pfad eingeben funktioniert leider nicht da kommt
/bin/sh: /home/web93/html/Xnova/admin/statbuilder.php: cannot execute binary file
PHP-Code:
<?php
define('INSIDE' , true);
define('INSTALL' , false);
define('IN_ADMIN', true);
$ugamela_root_path = './../';
include($ugamela_root_path . 'extension.inc');
include($ugamela_root_path . 'common.' . $phpEx);
include($ugamela_root_path . 'admin/statfunctions.' . $phpEx);
includeLang('admin');
$StatDate = time();
doquery ( "DELETE FROM {{table}} WHERE `stat_code` = '2';" , 'statpoints');
doquery ( "UPDATE {{table}} SET `stat_code` = `stat_code` + '1';" , 'statpoints');
$GameUsers = doquery("SELECT * FROM {{table}}", 'users');
?>
Datei geht noch weiter aber leider zu groß für dieses Forum wer sie braucht bitte PM