script expression not running in cronjob
ex. ctot=`expr $ctota + $zar`
when I puts this in script and fired manually gives output but not when executed as a cronjob.
when I schedules this in cronjob as it should mail the value of variable it does not give any value.
However it mails the value when fired manually.
echo $tot |mailx -s total email@example.com
will mail, blank when added to script and scheduled to cronjob.
|All times are GMT -5. The time now is 01:15 AM.|