title: Linux Cron job getting error "/tmp/crontab.XXXXsIOyNm":2: bad minute while creating new job
body: <p>I am trying to create a cron job, and I am receiving error</p>
  
  <pre><code>crontab: installing new crontab
  "/tmp/crontab.XXXXsIOyNm":2: bad minute
  errors in crontab file, can't install.
  Do you want to retry the same edit? 
  </code></pre>
  
  <p>I am using this:</p>
  
  <pre><code>0 0 * * * /apollo/env/DatanetServiceClientSIAA/bin/datanet --method POST --field jobRuns --uri jobRun/-/2544859/`date +\%Y-\%m-\%d`
  </code></pre>
  
  <p>The only thing I can think is, is that it is going across 2 lines? As, I noticed after POST the font changes to white..</p>
  
  <p>Would it be possible to put this script into a .sh file, and cron the .sh file?</p>
  
  <p>If so, how would I go about putting the script in an/the .sh?</p>
  
  <p>Thanks,</p>