title: Crontab syntax - Syntax error, this crontab file will be ignored
body: <p>I used the following command in crontab to execute these three commands in a a row every week:</p>
  <pre><code>0 0 * * 6 docker export dfdf &gt; backup.tar &amp;&amp; python gdrive-upload/upload.py -i backup.tar -o $(date +&quot;%Y-%m-%d-%I-%M-%p&quot;)-backup.tar -f backup &amp;&amp; rm backup.tar
  </code></pre>
  <p>However, syslog shows the following:</p>
  <pre><code>Feb 25 17:36:30 xxx cron[3314]: Error: bad hour; while reading crontab for user root  
  Feb 25 17:36:30 xxx cron[3314]: (root) ERROR (Syntax error, this crontab file will be ignored)
  </code></pre>
  <p>The problem should be on the second command as I tried with first &amp;&amp; third only and works fine.</p>
  <pre><code>python gdrive-upload/upload.py -i backup.tar -o backup.tar -f backup
  </code></pre>
  <p>I wonder why the command syntax is wrong (besides the %)? I have tried it in the command line and it works fine.</p>
  <p>I am using ubuntu. Previously the <code>crontab</code> does not work so I deleted <code>/etc/environment</code> file.</p>
  <p>Any help will be appreciated. Thanks.</p>