Scheduler: access to job_id during execution

Hey guys,
I am experimenting with jupyter scheduler. Every job seems to have an unique job_id which is stored in ~/.local/share/jupyter/scheduler.sqlite.
Is it possible to get this job_id during the execution of a job? I’d like to write some outputs on disk and I’d like to use the id for file or folder name. Then it would be easier to connect the outputs with the results stored in ./local/share.