[Backgroundrb-devel] Persistent jobs - when scheduled

Guillaume Nourry-Marquis guillaume.nourry.marquis at gmail.com
Thu Oct 29 12:26:40 EDT 2009


	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

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?



More information about the Backgroundrb-devel mailing list