The job submit data structure does not have a "batch_flag". Check if "script" is NULL or not.

Quoting Oriol Mula-Valls <omv.li...@gmail.com>:

Hi,

I am creating a LUA plugin and I am trying to prevent the interactive
jobs longer than 8h. How can I know if a job is interactive or not?
I've tried to use job_desc.batch_flag but it doesn't seem to work so,
I suspect it is not what I was thinking.

Thanks for you help,
Oriol


Reply via email to