Run script error
I have a script run on unix and linux server , I found that if run it at shell , it works fine , but if run on crontab job , it is not work , can advise what is the different to run on shell and crontab job ? how can I fix it ? thx
the script like below
!/bin/bash
if [ `date +%d` == 18 ]
then
xx
else
yy
fi
|