Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

odd crontab 1

Status
Not open for further replies.

AIXFinder

IS-IT--Management
Jan 4, 2007
97
US
I have a .ksh, and it returns outputs if I run it under root manually. However, if it runs under crontab under root, it does NOT return any output. What would be the issue?

thx
 
More than likely because of missing environment...

You might want to try adding the lines

Code:
. /etc/profile
. /.profile

at the top of the script.


HTH,

p5wizard
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top