LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-30-2010, 04:51 AM   #1
revanthec
LQ Newbie
 
Registered: Nov 2010
Posts: 3

Rep: Reputation: 0
Perl Jobs are not running from crontab


Dear All,

I am having a shell script which runs perl jobs.
The script is starting the perl jobs when it is executed manually from the command line , but when the same script runs from crontab it is not starting the perl jobs.
I have these things in the begining of the script


. /etc/profile

export MDX_HOME=/home/entsms
source $MDX_HOME/.bash_profile
export PERL5LIB=/home/entsms/program
export USER=entsms
export ORACLE_TERM=386
export LOGNAME=entsms
export ORA_NLS=/oracle/product/102/db_1/nls/data/
export HOSTNAME=drvl024.mtnirancell.ir
export JAVA_HOME=/usr/java/j2sdk1.4.0_03
export LANG=en_US.UTF-8
export NLS_NCHAR=AL32UTF8
export NLS_LANG=AMERICAN_AMERICA.AL32UTF8
export ORACLE_SID=mdx5p
export ORACLE_BASE=/oracle
export ORACLE_HOME=/oracle/product/102/db_1
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/oracle/product/102/db_1/lib:/lib
 
Old 11-30-2010, 05:06 AM   #2
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
The issue has almost certainly been solved in one of these LQ threads/posts.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I tell if crontab jobs are axecuting ? juanb Linux - General 4 01-27-2011 09:08 AM
All crontab jobs from all users booyeeka Linux - Newbie 2 08-18-2010 08:03 AM
saving crontab jobs wolfsar Linux - Software 4 07-15-2009 07:44 PM
Crontab not running jobs ncracraf Linux - Newbie 6 09-02-2006 02:44 PM
crontab jobs aren't running mdm_linux Linux - General 4 05-30-2005 12:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration