title: Second job in chained ampersand crontab still running even if previous one failed. Why?
body: <p>I have a cron job in my crontab as follows:</p>
  <pre><code>0 08 * * 6 /usr/bin/sh path_to_first_bash_file.sh &gt;&gt; job_result-`/bin/date +\%F`.log 2&gt;&amp;1 &amp;&amp; /usr/bin/sh path_to_second_bash_file.sh &gt;&gt; job_result-`/bin/date +\%F`.log 2&gt;&amp;1
  </code></pre>
  <p>On checking the log in my <code>job_result-&lt;YYYY-MM-DD&gt;.log</code>, I find that <code>path_to_first_bash_file.sh</code> has failed with exit status code 1 and <code>path_to_second_bash_file.sh</code> proceeds to run.</p>
  <p>As per <em>&amp;&amp;</em> idea, the second job should not proceed if the first one generates non zero exit status.</p>
  <p>What could be the issue with my cron command?</p>