Jump to content

Community

Delete Old Content - Supporttopic


Recommended Posts

On 4/1/2018 at 5:57 PM, Fosters said:

We’ll have a new bug fix release ready on Tuesday which is going to address several issues. 

Have you posted the bug fix? I'd like to give this thing a whirl, but if there are known issues being addressed I'd prefer to have the bug fix right out of the gate.

Link to post
Share on other sites
  • Replies 78
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

Amazing! ( not really amazing ? , but I’m really thankful for this hint) This makes absolutely sense why rhe last beta worked for me and some folks, but not for every body. You can  expect a

Currently, the app has two problems for me: 1. If one task has multiple forums the app can clean only the first of them and ignores the others. A workaround is to create separate tasks for every

Posted Images

  • 2 weeks later...

Updated and running on www.progungroup.com 

1647657928_ScreenShot2018-05-23at5_01_08PM.png.3f5201c934f540d10caf8443e0f417eb.png

 

will check back tomorrow and see how it going , it set to delete all content over 30 days old

 

@Fosters please add an option to ignore threads that don't have 0 amount of total replies, On another website i have 42,000 threads and i only want to keep the threads no body has ever replied too that are over 30 days old

 

Link to post
Share on other sites
21 hours ago, fix3r said:

Updated and running on www.progungroup.com 

1647657928_ScreenShot2018-05-23at5_01_08PM.png.3f5201c934f540d10caf8443e0f417eb.png

 

will check back tomorrow and see how it going , it set to delete all content over 30 days old

 

@Fosters please add an option to ignore threads that don't have 0 amount of total replies, On another website i have 42,000 threads and i only want to keep the threads no body has ever replied too that are over 30 days old

 

Any news?

Link to post
Share on other sites

same here with the Beta (Running via Cron, table prefix is ip_*).
Seems to be a Session Issue
 

Exception:
RuntimeException Object
(
   [message:protected] => LOCATION_UNKNOWN
   [string:Exception:private] => 
   [code:protected] => 0
   [file:protected] => /scruffy/filmvorfuehrer/pub/filmvorfuehrer.de/system/Session/Session.php
   [line:protected] => 61
   [trace:Exception:private] => Array
       (
           [0] => Array
               (
                   [file] => /scruffy/filmvorfuehrer/pub/filmvorfuehrer.de/system/Member/Member.php
                   [line] => 145
                   [function] => i
                   [class] => IPS\_Session
                   [type] => ::
                   [args] => Array
                       (
                       )

               )

           [1] => Array
               (
                   [file] => /scruffy/filmvorfuehrer/pub/filmvorfuehrer.de/system/Content/Item.php
                   [line] => 2486
                   [function] => loggedIn
                   [class] => IPS\_Member
                   [type] => ::
                   [args] => Array
                       (
                       )

               )

           [2] => Array
               (
                   [file] => /scruffy/filmvorfuehrer/pub/filmvorfuehrer.de/applications/forums/sources/Topic/Topic.php
                   [line] => 277
                   [function] => getItemsWithPermission
                   [class] => IPS\Content\_Item
                   [type] => ::
                   [args] => Array
                       (
                           [0] => Array
                               (
                                   [0] => Array
                                       (
                                           [0] => ( forums_topics.forum_id IN('4') )
                                       )

                                   [1] => Array
                                       (
                                           [0] => forums_topics.pinned=0
                                       )

                                   [2] => Array
                                       (
                                           [0] => forums_topics.featured=0
                                       )

                                   [3] => Array
                                       (
                                           [0] => forums_topics.last_post<?
                                           [1] => 1519754041
                                       )

                                   [4] => Array
                                       (
                                           [0] => forums_topics.start_date<?
                                           [1] => 1519754041
                                       )

                               )

                           [1] => 
                           [2] => 1000
                           [3] => 
                           [4] => -1
                           [5] => 0
                           [6] => 
                           [7] => 
                           [8] => 
                           [9] => 
                           [10] => 
                           [11] => 
                           [12] => 1
                           [13] => 1
                           [14] => 1
                           [15] => 1
                           [16] => 
                       )

               )

           [3] => Array
               (
                   [file] => /scruffy/filmvorfuehrer/pub/filmvorfuehrer.de/applications/deleteoldcontent/sources/Deletionrule/Deletionrule.php
                   [line] => 290
                   [function] => getItemsWithPermission
                   [class] => IPS\forums\_Topic
                   [type] => ::
                   [args] => Array
                       (
                           [0] => Array
                               (
                                   [0] => Array
                                       (
                                           [0] => ( forums_topics.forum_id IN('4') )
                                       )

                                   [1] => Array
                                       (
                                           [0] => forums_topics.pinned=0
                                       )

                                   [2] => Array
                                       (
                                           [0] => forums_topics.featured=0
                                       )

                                   [3] => Array
                                       (
                                           [0] => forums_topics.last_post<?
                                           [1] => 1519754041
                                       )

                                   [4] => Array
                                       (
                                           [0] => forums_topics.start_date<?
                                           [1] => 1519754041
                                       )

                               )

                           [1] => 
                           [2] => 1000
                           [3] => 
                           [4] => -1
                           [5] => 0
                           [6] => 
                           [7] => 
                           [8] => 
                           [9] => 
                           [10] => 
                           [11] => 
                           [12] => 1
                       )

               )

           [4] => Array
               (
                   [file] => /scruffy/filmvorfuehrer/pub/filmvorfuehrer.de/applications/deleteoldcontent/extensions/core/Queue/DeleteOldContent.php
                   [line] => 57
                   [function] => countItems
                   [class] => IPS\deleteoldcontent\_Deletionrule
                   [type] => ->
                   [args] => Array
                       (
                       )

               )

           [5] => Array
               (
                   [file] => /scruffy/filmvorfuehrer/pub/filmvorfuehrer.de/system/Task/Task.php
                   [line] => 47
                   [function] => run
                   [class] => IPS\deleteoldcontent\extensions\core\Queue\_DeleteOldContent
                   [type] => ->
                   [args] => Array
                       (
                           [0] => Array
                               (
                                   [id] => 2
                                   [total] => 176
                               )

                           [1] => 0
                       )

               )

           [6] => Array
               (
                   [file] => /scruffy/filmvorfuehrer/pub/filmvorfuehrer.de/applications/core/tasks/queue.php
                   [line] => 43
                   [function] => runQueue
                   [class] => IPS\_Task
                   [type] => ::
                   [args] => Array
                       (
                       )

               )

           [7] => Array
               (
                   [function] => IPS\core\tasks\{closure}
                   [class] => IPS\core\tasks\_queue
                   [type] => ->
                   [args] => Array
                       (
                       )

               )

           [8] => Array
               (
                   [file] => /scruffy/filmvorfuehrer/pub/filmvorfuehrer.de/system/Task/Task.php
                   [line] => 347
                   [function] => call_user_func
                   [args] => Array
                       (
                           [0] => Closure Object
                               (
                                   [this] => IPS\core\tasks\queue Object
                                       (
                                           [_data:protected] => Array
                                               (
                                                   [id] => 836
                                                   [key] => queue
                                                   [frequency] => P0Y0M0DT0H1M0S
                                                   [next_run] => 1527530041
                                                   [running] => 1
                                                   [enabled] => 1
                                                   [plugin] => 
                                                   [app] => core
                                                   [lock_count] => 0
                                                   [last_run] => 1527326797
                                               )

                                           [_new:protected] => 
                                           [changed] => Array
                                               (
                                               )

                                           [skipCloneDuplication] => 
                                       )

                               )

                       )

               )

           [9] => Array
               (
                   [file] => /scruffy/filmvorfuehrer/pub/filmvorfuehrer.de/applications/core/tasks/queue.php
                   [line] => 55
                   [function] => runUntilTimeout
                   [class] => IPS\_Task
                   [type] => ->
                   [args] => Array
                       (
                           [0] => Closure Object
                               (
                                   [this] => IPS\core\tasks\queue Object
                                       (
                                           [_data:protected] => Array
                                               (
                                                   [id] => 836
                                                   [key] => queue
                                                   [frequency] => P0Y0M0DT0H1M0S
                                                   [next_run] => 1527530041
                                                   [running] => 1
                                                   [enabled] => 1
                                                   [plugin] => 
                                                   [app] => core
                                                   [lock_count] => 0
                                                   [last_run] => 1527326797
                                               )

                                           [_new:protected] => 
                                           [changed] => Array
                                               (
                                               )

                                           [skipCloneDuplication] => 
                                       )

                               )

                       )

               )

           [10] => Array
               (
                   [file] => /scruffy/filmvorfuehrer/pub/filmvorfuehrer.de/system/Task/Task.php
                   [line] => 248
                   [function] => execute
                   [class] => IPS\core\tasks\_queue
                   [type] => ->
                   [args] => Array
                       (
                       )

               )

           [11] => Array
               (
                   [file] => /scruffy/filmvorfuehrer/pub/filmvorfuehrer.de/system/Task/Task.php
                   [line] => 217
                   [function] => run
                   [class] => IPS\_Task
                   [type] => ->
                   [args] => Array
                       (
                       )

               )

           [12] => Array
               (
                   [file] => /scruffy/filmvorfuehrer/pub/filmvorfuehrer.de/applications/core/interface/task/task.php
                   [line] => 62
                   [function] => runAndLog
                   [class] => IPS\_Task
                   [type] => ->
                   [args] => Array
                       (
                       )

               )

       )

   [previous:Exception:private] => 
)

 

image.thumb.png.b429acbcd7fd095e03fc0e01837ff29e.png

Edited by Simarilius
Link to post
Share on other sites
On 5/30/2018 at 5:15 AM, kihon said:

Will this work for the gallery?  or do you have any plans to make this work for the gallery?

No & no

A new version is available.

This adresses ALL the issues with the cron job. Thanks everybody for the patience, really appreciate it:)

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    No registered users viewing this page.


×
×
  • Create New...

Important Information

We use technologies, such as cookies, to customise content and advertising, to provide social media features and to analyse traffic to the site. We also share information about your use of our site with our trusted social media, advertising and analytics partners. See more about cookies and our Privacy Policy