Using account_name to start job

Is there a way to prevent jobs with a bad account_name starting ?
Unfortunetly, this variable (account_name) isn’t available at prologue stage

You might be able to use a runjob hook? This is run after the scheduler has found a place for the job, and just before the server sends the job to the mom.

You can use a queuejob hook to map the account_name to a custom variable which would appear in the Variable_List , then use this custom variable in the prologue stage to perform your tasks.