title: Crontab schedule every two week
body: <p>There is a question happened this week on my crontab job.<br>
  It's be set as below and works normal every two weeks until now.</p>
  
  <pre><code>10 06 * * 1 test $(($(date +\%W)\%2)) -eq 0 &amp;&amp; echo 'test' &gt; /tmp/test.log
  </code></pre>
  
  <p>The problem is </p>
  
  <blockquote>
    <p>$(($(date +\%W)\%2)) would be 08, over 7 in February.</p>
  </blockquote>
  
  <p>And it will show error message if you run in bash: value too great for base (error token is "08").<br>
  <br>
  There is <strong><em>also not working</em></strong> when I try to revise it for forcing decimal base purpose :</p>
  
  <pre><code>10 06 * * 1 test $((10#$(date +\%W)\%2)) -eq 0 &amp;&amp; echo 'test' &gt; /tmp/test.log
  </code></pre>
  
  <p>Does someone know how to solve this issue? <br>Many thanks.</p>