script expression not running in cronjob
hi,
ex. ctot=`expr $ctota + $zar` echo $ctot when I puts this in script and fired manually gives output but not when executed as a cronjob. |
Quote:
|
Actually
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. ex. tot=890 echo $tot |mailx -s total mailid@domain.com will mail, blank when added to script and scheduled to cronjob. |
All times are GMT -5. The time now is 06:22 PM. |