Quote:
|
Originally Posted by chatguy2020
I have a script that does ssh connection to a remote server and runs well. I put the same script in cron. It doesn't seem to connect to the remote server. The script runs displaying all but the remote command output. I am using user crontab from my user login. Any ideas why the script is running at prompt and not from cron?
|
One idea:
Are you relaying on some environment variable definition that is not defined in the script itself? You will run it from command line because of your user environment, but cron scripts will not have that.