title: cron.hourly "exited with return code 1"
body: <p>I'm currently on Linux Ubuntu 14.04 (I think).</p>
  
  <p>So I previously had a cron.daily script which was working fine. I decided to use the same script but move it to cron.hourly and now it wont work.</p>
  
  <p>/etc/cron.hourly/dstealth-watch-tv</p>
  
  <pre><code>#!/bin/bash
  
  times=$(date)
  echo "${times}:" &gt;&gt; /var/log/dstealth/watch-tv.log
  /usr/bin/curl --silent http://watch.dstealth.com/tv/refreshToken.php?k=secretRefreshKey &gt;&gt; /var/log/dstealth/watch-tv.log
  </code></pre>
  
  <p>I've given the file CHMOD: 755</p>
  
  <p>The log file was created manually with CHMOD: 644 and is empty.</p>
  
  <p>Then I used:</p>
  
  <pre><code>service cron reload
  </code></pre>
  
  <p>and waited several hours hoping for an output into my log file but it remains empty.</p>
  
  <p>I've tried</p>
  
  <pre><code>run-parts --verbose /etc/cron.hourly
  </code></pre>
  
  <p>and this is the output I get:</p>
  
  <pre><code>/etc/cron.hourly/dstealth-watch-tv:
  run-parts: failed to exec /etc/cron.hourly/dstealth-watch-tv: No such file or directory
  run-parts: /etc/cron.hourly/dstealth-watch-tv exited with return code 1
  </code></pre>
  
  <p>This also did not result in anything being input into the log file. I'm not sure where I've gone wrong. Please assist.</p>