Hi,
I'm trying to do the following:
- Run a Worker and a method within it every 15 minutes
- 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 minutes 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?