I have posted a EDD ( https://pbspro.atlassian.net/wiki/display/PD/EDD+for+PP-374%3A+Job+with+a+root-owned+script+runs+even+if+root_reject_scripts+set+to+true# ) for the proposed changes to update attribute comment with "Job has sent for execution at $execvnode" just before sending job for execution. Please review and provide feedback.
My only suggestion is that you make sure to truncate the exec_vnode like we do in the run comment. Job's exec_vnodes can be HUGE. We don't want that in the comment.
Thanks bhroam for pointing out. I will take care of this.