[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [HTCondor-users] Dagman post script argument is not working

On Thu, 19 Mar 2015, Sridhar Thumma wrote:

I am trying to pass argument for Dag post script. Post script is a shell
script. So, I tried accessing this argument using $1. That didn't work.
Later going through documents, I saw that, $ARGV[1]. I also tried that. That
also didn't work.

Please help me in this? I am passing single argument "test" here.


SCRIPT POST GETDATA logs/check_job_status_script.sh test

That all looks right. But keep in mind that any output your script generates will be lost unless you redirect it to a file, for example:

  #! /bin/sh
  echo $1 > test.out

Kent Wenger