title: crontab not producing the required result
body: <p>]# crontab -l</p>
  
  <pre><code>#ROOT CRONTAB test
  
  #22 15 * * * root my_date=`date +\%Y-\%m-\%0e_\%H:\%M:\%S`; /usr/bin/pg_dumpall -U postgres &gt; /home/apache/tactic_backup/postgresDb_${my_date}
  53 13 * * * root /home/apache/tactic_custom_tools/backup.sh
  </code></pre>
  
  <p>]# more /home/apache/tactic_custom_tools/backup.sh</p>
  
  <pre><code>#!/bin/bash                                                               
  /usr/bin/pg_dumpall -U postgres &gt; /home/apache/tactic_backup/postgresDb/`date +\%Y-\%m-\%0e_\%H:\%M:\%S
  </code></pre>
  
  <p>It doesn't create anything under /home/apache/tactic_backup/postgresDb/</p>
  
  <p>But when i run the script or command as root, it works and does the required. But via crontab it doesn't The crontab above is for root. Even in logs it shows that it ran(or so)</p>
  
  <pre><code>Jan 28 13:40:01 bjweb01 crond[13935]: (root) RELOAD (/var/spool/cron/root)
  Jan 28 13:40:01 bjweb01 CROND[34555]: (root) CMD (/usr/lib64/sa/sa1 1 1)
  Jan 28 13:40:01 bjweb01 CROND[34556]: (root) CMD (root /home/apache/tactic_custom_tools/backup.sh)
  Jan 28 13:46:47 bjweb01 crontab[34743]: (root) LIST (root)
  Jan 28 13:49:53 bjweb01 crontab[34814]: (root) BEGIN EDIT (root)
  Jan 28 13:50:01 bjweb01 CROND[34818]: (root) CMD (/usr/lib64/sa/sa1 1 1)
  Jan 28 13:52:11 bjweb01 crontab[34814]: (root) REPLACE (root)
  Jan 28 13:52:11 bjweb01 crontab[34814]: (root) END EDIT (root)
  Jan 28 13:53:01 bjweb01 crond[13935]: (root) RELOAD (/var/spool/cron/root)
  Jan 28 13:53:01 bjweb01 CROND[34887]: (root) CMD (root /home/apache/tactic_custom_tools/backup.sh)
  </code></pre>
  
  <p>Any idea what i am missing?</p>