I have been having a problem with a UNIX script(Solaris 2.5.1) using crontab. I can manually run the script from my login, but when I use the "crontab -e" command to run the script it is unable to log into our FTP server and upload the data.
1.) It runs fine when I manually execute the script.
2.) It is using the Bourne shell.
3.) I know that the script is running from the cron, because I have an error log that is being created, it erroring out on the ftp command.
4.) The script's permissions are set to 755.
5.) The usr/bin/ftp has permissions of 555.
What could be different from when I run the script manually and when it is run from crontab?
Any help would be appreciated. I am still fairly new to UNIX, so I am sure one of you UNIX gurus out there can help me.
Thanks,
SessionA