Hope everyone is having a good day i'm trying to write a script to introduce a cron job via script the following command is working fine when executed in shell script
echo '0 20 * * * touch /global/appaem/aem/wrap-lock/wrap.lock-`date +"%Y%m%d"`' >> /tmp/tmp.txt
more /tmp/tmp.txt
0 20 * * * touch /global/appaem/aem/wrap-lock/wrap.lock-`date +"%Y%m%d"
But when the same command is being executed from script it's displaying the below o/p
/global/appaem/aem/wrap-lock/wrap.lock-20170707
can some help here