23.4.2017 08:39
Rules checker was working fine since from 2 years and checked today all instances stops suddenly at same time writing to log files, But when i access rcon-rules.php by browser by commenting out following line then it works fine and write logs to file
but when i use crontab it doesn't write, i use webhosting built in crontab and it was working fine before , ...................it sends me email too with code of rcon-rules.php in email but it doesn't write logs to file
Don't know how to debug this problem , if you could help us that would be great..... thank u
PHP Version 5.6.26-pl0-gentoo, apache2
Code:
//if ($_SERVER['SERVER_ADDR'] != '127.0.0.1') {die('Sorry, localhost service only.');}
but when i use crontab it doesn't write, i use webhosting built in crontab and it was working fine before , ...................it sends me email too with code of rcon-rules.php in email but it doesn't write logs to file
Code:
*/5 * * * * /usr/www/server/public/rules_checker/rcon-rules.php > /dev/null 2>&1 &
Don't know how to debug this problem , if you could help us that would be great..... thank u
PHP Version 5.6.26-pl0-gentoo, apache2