Kerberos: Running an app with a parameter using krenew
Posted
by
Mihai Todor
on Server Fault
See other posts from Server Fault
or by Mihai Todor
Published on 2012-11-22T21:08:58Z
Indexed on
2012/11/22
23:01 UTC
Read the original article
Hit count: 316
I need to run an application with krenew
, but the application also needs to receive a parameter via command line and I need to send its output to a file. From the documentation, it looks like this should do the trick:
krenew -t -- sh -c 'compute-job > /afs/local/data/output'
but, unfortunately, when I run the command below:
krenew -s -- sh -c './my_app config.xml > results/test.txt &'
the application just dies after a while and I can see from the output of ps aux
that krenew
is not running along with my_app
. I am not sure what the parameter -t
does, and as far as I can see, if I run krenew -s ./my_app
, it works properly.
I hope someone can clarify this.
© Server Fault or respective owner