title: Crontab not executing bash script
body: <p>I very very rarely use Linux and so don't have any experience with bash scripts and cron jobs.
  This is in fact my first attempt. So it's probably something really simple to fix.</p>
  
  <p>I have the following:</p>
  
  <p>/etc/cron.d/clear-mixtape-dir.sh
  permissions are: 644</p>
  
  <pre><code>#!/bin/bash
  # Clears the /tmp/mixtape2 directory
  rm -rf "/tmp/mixtape2/"*
  </code></pre>
  
  <p>My crontab file looks like so:</p>
  
  <pre><code>SHELL=/bin/bash
  PATH=/sbin:/bin:/usr/sbin:/usr/bin
  MAILTO=root
  HOME=/
  
  */15 * * * * /etc/cron.d/clear-mixtape-dir.sh &gt;/dev/null 2&gt;&amp;1
  </code></pre>
  
  <p>I'm trying to execute the .sh script every 15 minutes.</p>
  
  <p>Everything i've found says this should work, but it doesn't.</p>
  
  <p>Does anything like file permissions (on files within /tmp/mixtape2/) matter in this case?
  Or perhaps the permissions set on the actual .sh script - maybe they need setting to executable?</p>
  
  <p>Any advice appreciated.</p>