title: Cronjob doesn't execute script properly
body: <p>I'm trying to execute a script that launches an app every minute. I'm using a system-wide cronjob config -&gt; <code>/etc/crontab</code></p>
  <p>Troubleshoots I've done:</p>
  <ul>
  <li><p>if I manually execute script it launches the assigned app <code>./test.sh</code></p>
  </li>
  <li><p>sh script has root permission, read write and execute</p>
  </li>
  <li><p>logs indicates cronjob was able to run script successfully <code>CRON[47528]: (root) CMD ( /scripts/test.sh &gt;/dev/null 2&gt;&amp;1)</code></p>
  </li>
  </ul>
  <p><strong>Problem: Assigned app isn't launching at all.</strong></p>
  <p>Shell script below</p>
  <pre><code>#!/bin/bash
  
  (exec firefox &amp;)
  </code></pre>