|
script execute by cron problem, but manual ok
Hi;
I'm facing the problem with my script like below
30 0 * * * /data/SCRIPT/LOADLOGS/loadata1.sh 2 1 >> /tmp/loaddata.txt
loadata1.sh calling a another 2 scripts which we need to exe in sequence.
when it perform by cron jon, sometimes it just can process 20 recs or less or nothing but when we re-run each scripts manually, it found 100 recs.
anyone has an experience before ? is it because of the cron or the script itself ? but we execute exactly the same script for both by cron or manual.
pls help... thanks in advance
|