Displaying 1 result from an estimated 1 matches for "billfil".
Did you mean:
billfile
2006 Jun 17
1
shell script segment fault when executed by crontab
Hi all,
I encounter a problem, program will segment fault when executed in a shell
by crontab.
logs:
start abstract bills Sat Jun 17 15:53:01 CST 2006
./startabstract.sh: line 37: 7347 Segmentation fault abstractsvrd -t
$TABLENAME $billfile
abstartct failed Sat Jun 17 15:53:01 CST 2006
But the shell script is normal when executed manual.
The script like this,
#!/bin/sh
cd /home/bryan/bin
echo start abstract bills `date`
billfile=/data/bill.txt
TABLENAME=t_AdInfo`date '+%04Y%02m%02d%02H'`
cd /home/bryan/bin
abstract -t $T...