The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Facing issue in Solaris OS in crontab for running shell script mabrar Shell Programming and Scripting 2 11-02-2007 03:32 AM
Crontab Mail message pankajkrmishra Shell Programming and Scripting 1 09-22-2006 01:36 AM
Recieved: Header help for sendmail rkf45144 UNIX for Advanced & Expert Users 0 06-29-2006 07:26 PM
NIS map mail.aliases specified, but NIS not running stancwong UNIX for Dummies Questions & Answers 2 08-29-2005 06:29 PM
running sql in crontab dorilevy UNIX for Dummies Questions & Answers 4 08-22-2002 04:13 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #8  
Old 08-09-2006
vgersh99's Avatar
Moderator
 

Join Date: Feb 2005
Location: Boston, MA
Posts: 3,016
Code:
25 09 * * * . $HOME/.profile && /opt/bea/wls61/config/dev05/batch_automation
/MBPSBatch/vendorfeed_concentra.sh > /opt/bea/wls61/config/dev05/batc
h_automation/MBPSBatch/logs/concentra_feed.log
Reply With Quote
Forum Sponsor
  #9  
Old 08-10-2006
Registered User
 

Join Date: Jul 2006
Posts: 55
ok Thanks I am trying with that also .....

In the meantime can anyone send me clear concept of profile file sub shell and hidden intricacies of cron file, and shell......... So that I may brush myself.
It seems that I lack in some fundamentals facts...

Thanks
Pankaj
Reply With Quote
  #10  
Old 08-10-2006
Registered User
 

Join Date: Jul 2006
Posts: 55
Hi

25 09 * * * . $HOME/.profile && /opt/bea/wls61/config/dev05/batch_automation
/MBPSBatch/vendorfeed_concentra.sh > /opt/bea/wls61/config/dev05/batc
h_automation/MBPSBatch/logs/concentra_feed.log


This did not worked even...........

Script has run ... log also created but no mail was send..

Please suggest

Regards
Pankaj
Reply With Quote
  #11  
Old 08-10-2006
vgersh99's Avatar
Moderator
 

Join Date: Feb 2005
Location: Boston, MA
Posts: 3,016
Quote:
Originally Posted by pankajkrmishra
Hi

25 09 * * * . $HOME/.profile && /opt/bea/wls61/config/dev05/batch_automation
/MBPSBatch/vendorfeed_concentra.sh > /opt/bea/wls61/config/dev05/batc
h_automation/MBPSBatch/logs/concentra_feed.log


This did not worked even...........

Script has run ... log also created but no mail was send..

Please suggest

Regards
Pankaj

I'd suggest do further debugging.
Code:
25 09 * * * . $HOME/.profile && /opt/bea/wls61/config/dev05/batch_automation/MBPSBatch/vendorfeed_concentra.sh > /opt/bea/wls61/config/dev05/batch_automation/MBPSBatch/logs/concentra_feed.log 2>&1
run it from cron and examine the log for the clues.
Good luck.

Last edited by vgersh99; 08-11-2006 at 04:54 AM.
Reply With Quote
  #12  
Old 08-11-2006
Registered User
 

Join Date: Jul 2006
Posts: 55
Hi

Its working now. Actually one jar file called mail.jar has to be put before weblogic.jar........

Thanks A lot for your help
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 11:33 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0