Time based configuration in God

Hi,

I am using resque, resque-scheduler gems in my rails app. To monitor the working of resque workers, I am using God tool. I want to add such a god configuration, which will monitor the time of job running in the resque worker. If process execution exceeds the time limit, then it should restart the worker.

I read post at http://god.rubyforge.org/. However, couldn’t peek the right code base for my requirement.

Any information will be highly appreciated.

Thanks.