![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| a cron job needs a perl script to execute | Exader | UNIX for Dummies Questions & Answers | 2 | 04-22-2008 03:45 PM |
| problem when the script is scheduled to run as cron job | forumthreads | UNIX for Dummies Questions & Answers | 6 | 07-19-2007 12:27 PM |
| CRON problem using script... | Sorrento | Shell Programming and Scripting | 0 | 10-14-2005 12:48 PM |
| problem with a script and the cron | pascalbout | AIX | 1 | 10-13-2005 09:42 AM |
| cron job problem with csh script | fung_donald | Shell Programming and Scripting | 3 | 04-11-2002 10:15 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
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 |
|
||||
|
1. The executing user should get emails if any stdout or stderr was produced.
And in the environment your script runs (exec'd by cron and with minimal environment)..... 2. check your paths (PATH, LD_LIBRARY_PATH etc) 3. check your environment |
|
||||
|
just little bit confused..
if the env or path problem, my cron should unable to process at all any recs, am i right ?? but it seems like inconsistent problem.. Quote:
|
|
||||
|
write a full path of the script which u have called.. then it ok...
|
| Sponsored Links | ||
|
|