If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Unix Shell Scripts > JObs doesnot run in test environment

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-16-08, 10:31
drek_01 drek_01 is offline
Registered User
 
Join Date: Jun 2007
Posts: 44
JObs doesnot run in test environment

i am a newbie to Unix and shell scripting..
i am trying to run the jobs on our dev server, i copied all the scripts from Production and tried to run it in dev it just doesnot run.
all the paths are same, password on some hardcoded inside scripts were changed but still does not know why?
Reply With Quote
  #2 (permalink)  
Old 09-16-08, 13:32
Tyveleyn Tyveleyn is offline
Registered User
 
Join Date: Aug 2006
Location: The Netherlands
Posts: 248
Hi, is the location of your scripts in the PATH variable? Check this with
Code:
which scriptname
If found it will return the fullpath/scriptname. If you are in the script directory itself try running
Code:
./scriptname
I presume you use the same shell on the dev machine as on the prod machine.

Regards
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On