Jump to content

Prune Old Personal Conversations

Featured Replies

Posted

 

The task does not seem to be running on it's own. I waited three days and it never ran - so I ran it manually.

  • Author
1 hour ago, Loren said:

The task does not seem to be running on it's own. I waited three days and it never ran - so I ran it manually.

That is strange. Can you post a screenshot of the plugin 's settings and taks page?

settings.thumb.png.4a9cd76ef9493f7d432d86b0b413e4d7.png

tasks.thumb.png.f2fb86cd7bc391d0e22d5079888d33ed.png

2139441987_lockedtasks.thumb.png.5116028d6bf9ecaab79c438e2f759f52.png

  • Author

I can not reproduce this myself. I see that you have quite a lot tasks added by other third party plugins. It might be a server thing or a conflict elsewhere. You can open a ticket about this so one of the Ipb staff can look into the task settings.

22 hours ago, Faqole said:

so one of the Ipb staff can look into the task settings.

It's an issue in your app:) This is just bad practice: 

foreach( new \IPS\Patterns\ActiveRecordIterator( \IPS\Db::i()->select( '*', 'core_message_topics', $where), 'IPS\core\Messenger\Conversation' ) AS $conversation )
            {

You should use a limit here and iterate only over X items on each task call. Additional to using the limit, you could and should use Task::runUntilTimeout here which will repeatedly call the method and delete any further private messages as long as the PHP process allows this.

  • Author

The task lock issue has been fixed. @Loren, please download the new version of the plugin and do an update.

Thanks trying it now.  thumbup.gif.7bf25c46af7bc8d30b5be2d97368a469.gif

Looks like it running as it should now.
Thanks again for addressing this issue!

 

  • Author
3 hours ago, Loren said:

Looks like it running as it should now.
Thanks again for addressing this issue!

 

You are welcome :smile:

Archived

This topic is now archived and is closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.