so this is my cronjob
PATH=/package/host/localhost/php-5.4.7-1/bin:/bin:/usr/bin
PHPRC=/home/stuff/etc
* * * * * php /home/stuff/private/xFEklnTekl/cmd.php
and this is the cmd.php file
<?php
$c = file("c.txt");
$f = fopen("c.txt", "w+");
$g = $c[0]+1;
fwrite($f, $g);
fclose($f);
?>
Sadly it doesn't update the c.txt file as it should. I think something is wrong with the given path in the php script. I've already tried just /c.txt but it didn't work either. So, what might be wrong?