Hi,

I'm getting every time a job_id = 0 when my priority plugin is called. The
job_ptr has not details either, so I can't set the priority.

I have this function:

extern uint32_t priority_p_set(uint32_t last_prio, struct job_record
*job_ptr)
{
debug2("p_priority_set: job_id = %u", job_ptr->job_id);
 uint32_t priority = _get_priority_internal(time(NULL), job_ptr);

debug2("initial priority for job %u is %u", job_ptr->job_id, priority);

return priority;
}

And this is my log:

[2012-08-02T17:56:39] debug2: p_priority_set: job_id = 0
[2012-08-02T17:56:39] error: _get_priority_internal: job 0 does not have a
details symbol set, can't set priority
[2012-08-02T17:56:39] debug2: initial priority for job 0 is 0


Why can this be happening?

Reply via email to