AWS Thinkbox Discussion Forums

Modify: JobID length and Deadline Monitor title

Two questions:

  1. The default character count in jobID is 24. How to change it to, say 6? Much readable in the emails then.

  2. How to remove the deadline path from the title of deadline monitor? Something like ‘Deadline Monitor - /net/…/DeadlineRepository9’ is the title now. Need to change it to ‘Deadline Monitor’. What is the standard way to do this?

Thanks
Jojan

The JobID is simply a MongoDB object ID. This is very low level and cannot be changed. However, I think that if you search or filter on the first 6 characters of the ID, you should get the intended Job the vast majority of the time.

Also the Monitor Title is not customizable to my knowledge, although someone can jump in if I’m wrong on that.

You may want the first ten:
docs.mongodb.com/manual/referen … /ObjectId/

That’d be the first 5 bytes, so Unix time plus a chunk of the machine id for the one who submitted the job.

To make your life a bit easier for actually grabbing that, you could modify the ‘copy job id’ script from “[repo]\scripts\jobs” to do that cut for you.

Privacy | Site terms | Cookie preferences