How to delete failed tasks?


  • Used Zammad version: 4.0
  • Used Zammad installation type: repo centos 7
  • Operating system: centos 7
  • Browser + version: Firefox 78.9.0esr

I am seeing failed tasks under Current Status on the Monitoring page:

It is not relevant why they failed in the past.

Expected behavior:

  • having a mean to remove this message from the monitoring, because I do not care anymore

Actual behavior:

  • constantly showing this kind of old messages

we have the same problem.
I have found the problem and the Last task Finished Succesfully, but how to delete the failed Task?


maybe this thread is of any help?

Thanks for the link, but as far as I see this is not helpfull:

# zammad run rails c
Loading production environment (Rails
irb(main):001:0> Delayed::Job.count
=> 0
irb(main):002:0> Delayed::Job.first
=> nil
irb(main):003:0> Delayed::Job.last
=> nil

maybe try it on the; DataPrivacyTask instead of Delayed?

1 Like

this appears to be the code, that is reporting the stuck tasks;

maybe you can adopt it to delete the tasks

Yes, that was helpfull, thanks. I could remove the failed task with this command:


The id was displayed on the monitoring page in the backend.


This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.