I was having a simular problem with crons default being sh and wanting to be in csh. I found some where that you should be able to put a line such as SHELL = in your cron tab file but on my system, Solaris 9, this was not allowed. So the best I have found to do is to have the following as the...
Hi,
I'm looking for help with a script I wrote that is being executed from a cron job. I use the ssh command to do a directory on a remote host and write it to a file on the host the script is running on. The command I use is:
ssh usename@remotehost "ls /dirname/*"...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.