Preparing Context

Is there a way to prepare the context in which the job will be run?

I have the problem that i have to prepare my WebAppplication with some method calls. Those are placed in my owin startup class.

Is there a way that those methods prepare the job context?