Quoting Peter Van Lone
On 9/14/07, Carlos E. R.
wrote: Not incorrect, different. The path, and other environment variables, that programs running as cron jobs get are different that what they get when running normally. Whether this is a problem or not depends on each particular script, program, whatever. That's why some usually declare their own path inside the script.
well since the exact same script works from shell (logged in as same user) but not from crontab ... then that would seem to suggest somthing about the crontab env specifically, correct?
Cron runs programs directly, not thru the shell. IIRC, if you use file globbing or other shell specific special characters, cron will call the shell to call the program. Or you can explicitly invoke the shell, e.g.: /bin/sh -c "/home/user/cronjob arg1" HTH, Jeff -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org