shell script segment fault when executed by crontab
Reddragon Wang
reddragonwang at gmail.com
Sat Jun 17 08:27:28 GMT 2006
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 $TABLENAME $billfile
The abstract is a program that uses shared memory to compute the bill.
Anyone can help?
Thanks in advance.
bryan
-------------- next part --------------
HTML attachment scrubbed and removed
More information about the rsync
mailing list