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

Re: [Condor-users] Exit hook not getting the job classAds



Hi Robert,

   I am using condor-7.2.3 version.

   I tried with your code but no luck.


by
Johnson


Robert Rati wrote:
What version of condor are you using?  I'm able to run an exit script of:

#!/usr/bin/perl -w

use strict;

my @in = <STDIN>;

foreach (@in)
{
   `logger -t test_exit $_`;
}

And I see the job classad in the system log file.

Rob

Johnson koil Raj wrote:
Hi,

I am using prepare hook in my pool which working fine but the exit hook is not so. I am not able to get the jobclassAds by the same script which is used for prepare hook.

In my prepare hook script is I use  following to get jobclassAd
my @classad = <STDIN>;


In exit hook I am only getting job exit reason as command line argument. When I tried to print size of @classad it is 0.

by
Johnson


Please do not print this email unless it is absolutely necessary.
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
www.wipro.com
_______________________________________________
Condor-users mailing list
To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/condor-users

The archives can be found at: https://lists.cs.wisc.edu/archive/condor-users/



Please do not print this email unless it is absolutely necessary. The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
www.wipro.com