title: Whenever - Cron not working? Permission denied
body: <p>'I have set up a cron with wehenever, but its not working. I tried to run the command manually and i get the error <code>/bin/bash: bin/rails: Permission denied</code>.</p>
  
  <p>Here what the command of the cron looks like:</p>
  
  <p><code>/bin/bash -l -c 'cd /var/www/domain.net/main &amp;&amp; bin/rails runner -e production '\''User.weekly_update'\'''</code></p>
  
  <p>I also tried to run this command as <code>root</code> but i got the same message.</p>