PHP cron fwrite dont work
<p>I try this:</p>

<pre><code>&lt;?php
$time = time();
$fh = fopen("cron.txt", 'a+');
fwrite($fh, $time);
echo "ok";
?&gt;
</code></pre>

<p>to run on SSH:</p>

<pre><code>/opt/bitnami/php/bin/php /opt/bitnami/apache2/htdocs/cron.php
</code></pre>

<p>and remote server:</p>

<pre><code>budzinski.xyz/cron.php
</code></pre>

<p>on localhost it works fine, on remote server and on cron, don't</p>