Guillaume Nourry-Marquis
2009-Oct-29 16:26 UTC
[Backgroundrb-devel] Persistent jobs - when scheduled
Hi, I''m trying to do the following : 1- Run a Worker and a method within it every 15 minutes 2- Have a log of the job last runtime, in the database table bdrd_job_queue. What I''ve done : I have a schedule every 15 min in my backgroundRB.yml file The method call has a persistent_job.finish! call, but it''s not working, because the persistent_job object is nil. How can I ensure it''s logged in the DB, but still automatically scheduled from backgroundRB.yml? Thanks GuillaumeNM