The issue is discussed in the following forum thread:
http://community.pbspro.org/t/job-terminates-when-execjob-begin-and-execjob-prologue-hook-is-run-in-batch-but-not-when-run-interactively/1338
In summary, when the hook was run for an interactive job it worked properly, but not for a batch job.
The issue is discussed in the following forum thread:
http://community.pbspro.org/t/job-terminates-when-execjob-begin-and-execjob-prologue-hook-is-run-in-batch-but-not-when-run-interactively/1338
In summary, when the hook was run for an interactive job it worked properly, but not for a batch job.