The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 07-02-2009
Smiling Dragon's Avatar
Smiling Dragon Smiling Dragon is offline Forum Advisor  
Disorganised User
  
 

Join Date: Nov 2007
Location: New Zealand
Posts: 922
This looks to me like you are using an environment variable within your script - cron does not set up any kind of environment.
Another possibility is that you may not be explicitly referring to ksh in the #! path at the top of your script, cron executes everything in sh.
That warning of an ambiguous redirect is probably the crux of the issue, but your commandline isn't doing any redirection.

Can you try posting your crontab line, and perhaps your script too?