[ale] cron vs shell
James P. Kinney III
jkinney at localnetsolutions.com
Sun Aug 10 10:12:14 EDT 2003
I have a script that runs perfect from a shell prompt. But when I run it
from cron, it hangs waiting for the first part to finish.
After setting up some variables and getting a list of names and machines
to work on, the script uses ssh to run a remote command to stop a
process, the is scp's the log file from that process to a common
location. Then it restarts the remote machine.
It hangs waiting for the process stop to finish when run as a cron job.
It doesn't when run from the command line.
What is the difference between the two environments such that a process
stop request will never see it end? I have absolute paths for all the
commands.
--
James P. Kinney III \Changing the mobile computing world/
CEO & Director of Engineering \ one Linux user /
Local Net Solutions,LLC \ at a time. /
770-493-8244 \.___________________________./
http://www.localnetsolutions.com
GPG ID: 829C6CA7 James P. Kinney III (M.S. Physics) <jkinney at localnetsolutions.com>
Fingerprint = 3C9E 6366 54FC A3FE BA4D 0659 6190 ADC3 829C 6CA7
This is a digitally signed message part
More information about the Ale
mailing list