Support » Plugin: Post Expirator: Automatically Unpublish WordPress Posts » Multiple expires are expiring the first occurence

  • Resolved steynvh

    (@steynvh)


    I have multiple posts.
    For example: post A which will expire by next friday.
    Post B which will expire in 2 weeks.

    When the first expiration date is here (in this example: post A), both posts will get expired by this plugin.

    Plugin is version 2.4.1
    Wordpress is version 5.7.2

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor Steve Burge

    (@stevejburge)

    Hi @steynvh

    Thanks for using Post Expirator.

    Sorry, we’ve not had any more reports of this. Please share more details.

    Also, make sure that you have a “postExpiratorExpire” cron job for each post:
    https://publishpress.com/knowledge-base/scheduling-cron-jobs/

    Plugin Contributor Steve Burge

    (@stevejburge)

    Closing after a week with no replies. Please follow up if it’s still an issue.

    Thread Starter steynvh

    (@steynvh)

    Issue still not resolved with version 2.4.2.
    I don’t know what details you want to have extra.
    Please tell me which details you want to know.

    I’ve got some posts that needs to expire on the last day of the month.
    I’ve also got some posts that needs to expire the sunday evening (every monday I’ll publish new posts).
    When the posts for the sunday are expiring, all the posts are expiring.

    I see multiple postExpiratorExpire jobs in the WP_cron list with the correct date.
    My first assumption would be that when the expiration cronjob fires it expires all the posts that have an expiration date, but does not check if that is the correct post.

    Plugin Contributor Steve Burge

    (@stevejburge)

    Hi @steynvh

    How are you running the cron jobs? Is this just the WordPress default?

    If WordPress is handling the cron, WordPress will trigger the cron job based on visits to site. That is not very precise for sites with low traffic which definitely could occur on Sunday evenings.

    Or are you using an external cron job?

    Thread Starter steynvh

    (@steynvh)

    I’m running WP cron as a dedicated cron job on my linux server. 🙂

    Plugin Contributor Steve Burge

    (@stevejburge)

    @steynvh Can you test this pre-release version and see if it helps, please?
    https://app.box.com/s/9z2hinz159tk8kt4xt5nsty02aojliwx

    Plugin Contributor Steve Burge

    (@stevejburge)

    Closing after a week with no replies. That version has now been officially released.

Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.