The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 05-30-2007
izai izai is offline
Registered User
  
 

Join Date: May 2007
Posts: 3
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