title: Cronjob creates output file, but doesn't write to it
body: <p>I've got these two lines in my crontab file:</p>
  
  <pre><code>0 * * * * /usr/bin/php /var/www/html/worker/confirmBets.php &gt;&gt; /var/www/html/worker/out.put
  30 23 * * * mv /var/www/html/worker/out.put /var/www/html/worker/out.put-"$(date +"\%y-\%m-\%d")" &gt;/dev/null 2&gt;&amp;1
  </code></pre>
  
  <p>While the second line works and renames the out.put file every night, the first line doesn't quite work. It <strong>does</strong> create the out.put file, but it does not write anything to it. I know that the PHP script works, as when I'm running the command (exactly that line, just without the <code>0 * * * *</code>), it writes perfectly fine to the out.put file. When it's started from the cronjob though, it doesn't write to it (even though it creates it).</p>
  
  <p>Funny fact: It did work several weeks ago, I just noticed it somehow doesn't work anymore. Unfortunately I don't know if I changed anything in the server setup in the meantime. What could cause that problem?</p>
  
  <p>The syslog shows the following output:</p>
  
  <pre><code>Feb 25 07:00:01 vps485163 CRON[15161]: (root) CMD (root /usr/bin/php /var/www/html/worker/confirmBets.php &gt;&gt; /var/www/html/worker/out.put)
  Feb 25 07:00:01 vps485163 CRON[15160]: (CRON) info (No MTA installed, discarding output)
  </code></pre>
  
  <p>What's meant by that?</p>