I have a ton of delayed job failures in my dashboard under background tasks. They are mostly failed imports of report yaml files that were deleted. There are over 40000 of them so I can't use the "Mark all as read" button because it causes dashboard to hang forever. Anyone know how I can clear these from the command line?
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this group, send email to puppet...@googlegroups.com.
To unsubscribe from this group, send email to puppet-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Thanks Nigel, but I have already tried that. I originally used the 'rake jobs:clear' command to clear out all pending delayed jobs that had built up over time. That's when they appeared in the "delayed_jobs_failures" list ie. "Background Task Failures". My problem isn't that there are delayed jobs pending, just that the log of failed jobs is so large that I can't clear them properly.
On 11/01/2011 11:58 AM, Nigel Kersten wrote:
On Fri, Oct 28, 2011 at 11:32 AM, Steven L. Seed <slsee...@gmail.com> wrote:
I have a ton of delayed job failures in my dashboard under background tasks. They are mostly failed imports of report yaml files that were deleted. There are over 40000 of them so I can't use the "Mark all as read" button because it causes dashboard to hang forever. Anyone know how I can clear these from the command line?
'rake -T' is very useful for looking for rake tasks.
# rake -T jobsrake jobs:clear # Clear the delayed_job queue.rake jobs:work # Start a delayed_job worker.
The first one looks like the one you want.--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this group, send email to puppet...@googlegroups.com.
To unsubscribe from this group, send email to puppet-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this group, send email to puppet...@googlegroups.com.
To unsubscribe from this group, send email to puppet-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.