title: Delayed_Job: accessing job metadata and/or avoiding duplicate jobs
body: <p>i'm trying to get the run_at datetime in a custom job class. my code looks like this:</p>
  
  <pre><code>class MyCustomJob &lt; Struct.new(:my_object)
  
    def perform
      if self.run_at == my_object.start_time
        # process the job
      end
    end
  
  end
  </code></pre>
  
  <p>i also tried a <code>Delayed::Job.find(self)</code> but had no luck.</p>
  
  <p>thanks in advance</p>