unlike normal bash scripts, you can’t really use the back ticks to execute a certain command like so
DATE=`date +%F`
In crontab, you have to use the $(), eg
$(date +\%F)
Open Source Technologies At Work
Only Passion Matters
unlike normal bash scripts, you can’t really use the back ticks to execute a certain command like so
DATE=`date +%F`
In crontab, you have to use the $(), eg
$(date +\%F)