Example for showing how to integrate oban with son of grid engine (SGE)

I want to use oban to process background jobs together with son of grid engine (SGE) for my ongoing project.
What I need is listed below:

  1. A job will be submitted to a compute node via SGE in the perform function of a worker module.
  2. A callback is able to notify me about the job completion. This can be implemented through periodic polling, e.g. issuing qstat -j jobid.

I will be grateful if anyone could provide either an example or the idea about how to do that.

Zhen