Hi Lorenzo,
On 7/20/23 12:16, Lorenzo Bosio wrote:
> One more thing I'd like to point out, is that I need to monitor jobs going
> from pending to running state (after waiting in the jobs queue). I
> currently have a separate pthread to achieve this, but I think at this
> point the job_submit()/
Hello everyone,
thanks for all the answers.
To elaborate further: I'm developing in C, but that's not a problem
since I can find an equivalent to LUA as Jeffrey T Frey said.
One more thing I'd like to point out, is that I need to monitor jobs
going from pending to running state (after waiting
In case you're developing the plugin in C and not LUA, behind the scenes the
LUA mechanism is concatenating all log_user() strings into a single variable
(user_msg). When the LUA code completes, the C code sets the *err_msg argument
to the job_submit()/job_modify() function to that string, then
Hello Lorenzo,
Lorenzo Bosio writes:
> I'm developing a job submit plugin to check if some conditions are met before
> a job runs.
> I'd need a way to notify the user about the plugin actions (i.e. why its jobs
> was killed and what to do), but after a lot of research I could only write to
>
Hi Lorenzo,
On 7/19/23 14:22, Lorenzo Bosio wrote:
> I'm developing a job submit plugin to check if some conditions are met
> before a job runs.
> I'd need a way to notify the user about the plugin actions (i.e. why its
> jobs was killed and what to do), but after a lot of research I could only
Hello everyone,
I'm developing a job submit plugin to check if some conditions are met
before a job runs.
I'd need a way to notify the user about the plugin actions (i.e. why its
jobs was killed and what to do), but after a lot of research I could
only write to logs and not the user shell.
The