Support » Plugin: Auto Post Scheduler » Just this date – not working right

  • I have been using this for a while and I can’t live without it. But lately it’s been reposting the same post over and over again. I have it set to only post On This Day, since I have posts that are seasonal. Clearly I don’t want a Christmas post showing up in April. Recycled post are set to publish, posts need to be more than 360 days out, post only one at a time, max two per day.

    It is NOT set to select oldest post if there are no eligible posts.
    It is NOT set to pick a random post.

    As you can see, even though I keep going in and removing this Christmas post, changing the date to something NOT in April or May but in a past year, auto post keeps grabbing that SAME post and recycling it.

    2019-05-02 04:30:25 – DEBUG: aps_auto_post_hook triggered, looking for eligible posts…
    2019-05-02 04:30:25 – DEBUG: eligible posts WP_Query Array ( [posts_per_page] => -1 [cat] => 1599,3709,3701,3707,115,153,37,58,3706,3710,3708 [author] => [post_type] => Array ( [0] => post ) [ignore_sticky_posts] => 1 [post_status] => Array ( [0] => publish ) [order] => ASC )
    2019-05-02 04:30:27 – DEBUG: found 308 results.
    2019-05-02 04:30:27 – DEBUG: processing post Sometimes Christmas Just Sucks and that’s okay
    2019-05-02 04:30:30 – DEBUG: wp_update_post (as new) Array ( [ID] => 4811 [post_status] => draft )
    2019-05-02 04:30:30 – DEBUG: wp_update_post Array ( [ID] => 4811 [post_status] => publish [post_date_gmt] => 2019-05-02 07:30:27 [post_date] => 2019-05-02 04:30:27 )
    2019-05-02 04:30:33 – Post published outside of APS – Auto Post Scheduler restarted
    2019-05-02 04:30:33 – DEBUG: First wp_next_scheduled for 2019-05-02 16:30:33 America/Halifax.
    2019-05-02 04:30:33 – POST id 4811 RECYCLED: ‘Sometimes Christmas Just Sucks and that’s okay’
    2019-05-02 04:30:33 – DEBUG: wp_next_scheduled for 2019-05-02 16:30:33 America/Halifax.
    2019-05-02 17:20:27 – DEBUG: aps_auto_post_hook triggered, looking for eligible posts…
    2019-05-02 17:20:27 – DEBUG: eligible posts WP_Query Array ( [posts_per_page] => -1 [cat] => 1599,3709,3701,3707,115,153,37,58,3706,3710,3708 [author] => [post_type] => Array ( [0] => post ) [ignore_sticky_posts] => 1 [post_status] => Array ( [0] => publish ) [order] => ASC )
    2019-05-02 17:20:28 – DEBUG: found 308 results.
    2019-05-02 17:20:28 – DEBUG: processing post Sometimes Christmas Just Sucks and that’s okay
    2019-05-02 17:20:31 – DEBUG: wp_update_post (as new) Array ( [ID] => 4811 [post_status] => draft )
    2019-05-02 17:20:31 – DEBUG: wp_update_post Array ( [ID] => 4811 [post_status] => publish [post_date_gmt] => 2019-05-02 20:20:28 [post_date] => 2019-05-02 17:20:28 )
    2019-05-02 17:20:33 – Post published outside of APS – Auto Post Scheduler restarted
    2019-05-02 17:20:33 – DEBUG: First wp_next_scheduled for 2019-05-03 05:20:33 America/Halifax.
    2019-05-02 17:20:33 – POST id 4811 RECYCLED: ‘Sometimes Christmas Just Sucks and that’s okay’
    2019-05-02 17:20:33 – DEBUG: wp_next_scheduled for 2019-05-03 05:20:33 America/Halifax.
    2019-05-03 05:40:19 – DEBUG: aps_auto_post_hook triggered, looking for eligible posts…
    2019-05-03 05:40:19 – DEBUG: eligible posts WP_Query Array ( [posts_per_page] => -1 [cat] => 1599,3709,3701,3707,115,153,37,58,3706,3710,3708 [author] => [post_type] => Array ( [0] => post ) [ignore_sticky_posts] => 1 [post_status] => Array ( [0] => publish ) [order] => ASC )
    2019-05-03 05:40:21 – DEBUG: found 309 results.
    2019-05-03 05:40:21 – DEBUG: processing post Sometimes Christmas Just Sucks and that’s okay
    2019-05-03 05:40:24 – DEBUG: wp_update_post (as new) Array ( [ID] => 4811 [post_status] => draft )
    2019-05-03 05:40:24 – DEBUG: wp_update_post Array ( [ID] => 4811 [post_status] => publish [post_date_gmt] => 2019-05-03 08:40:21 [post_date] => 2019-05-03 05:40:21 )
    2019-05-03 05:40:26 – Post published outside of APS – Auto Post Scheduler restarted
    2019-05-03 05:40:26 – DEBUG: First wp_next_scheduled for 2019-05-03 17:40:26 America/Halifax.
    2019-05-03 05:40:26 – POST id 4811 RECYCLED: ‘Sometimes Christmas Just Sucks and that’s okay’
    2019-05-03 05:40:26 – DEBUG: wp_next_scheduled for 2019-05-03 17:40:26 America/Halifax.
    2019-05-03 09:15:36 – Auto Post Scheduler Disabled!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author johnh10

    (@johnh10)

    Recycle Mode is not reached because you have ‘Publish’ set as an Eligible Post Status, so On This Day will never fire. From your settings APS will always pick the oldest published post (Your Christmas one).

    Eligible Post Statuses? Publish. If checked, published posts will be checked for posting/recycling. This disables Recycle Posts Mode.

    Recycle Posts Mode? If checked, the oldest published posts will be recycled if there are no eligible posts.

    To use Recycle Mode/On This Day, there needs to be no eligible posts available to publish.

    I want it to look back for published posts on this day in past years and recycle them. I certainly don’t want it publishing things that are in my drafts or pending.

    How do I set that? Just unclick Publish?

    Plugin Author johnh10

    (@johnh10)

    Currently, if you can’t select drafts or pending then it cannot reach Recycle Mode.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Just this date – not working right’ is closed to new replies.