• Resolved gaiusjaugustus

    (@gaiusjaugustus)


    I’ve set up PublishPress Future for my custom post type (CPT) to remove a custom taxonomy (“Visibility”) 7 days after the post is published, at 6:17am. Unfortunately, the Visibility doesn’t ever change for my custom post type.

    However, if I set up a CPT to remove a visibility in, for example, 15 minutes and then check on that CPT in 20-30 minutes, the custom taxonomy is removed successfully.

    I have WP_Cron turned off for my website, and instead have a cronjob running every 10 minutes on my server calling WordPress’s cron. I have low traffic to my website, so this allows all the WP Cron jobs to run whether or not people are visiting my site.

    Is this issue because of my cron setup? My understanding is that the cronjob on my server should trigger all events queued by WP Cron. Is that not the case?

    (Side note: I have this same issue with PublishPress Revisions)

    Thanks for any insights you have.

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Support Riza Maulana Ardiyanto

    (@rizaardiyanto)

    Hi @gaiusjaugustus

    Thanks for using PublishPress Future.

    My understanding is that the cronjob on my server should trigger all events queued by WP Cron

    Your understanding is correct. And the approach that using real cron instead of wp-cron for low site traffic is already correct.

    We will not be able to pinpoint the exact issue without proper troubleshooting.

    You could actually test if cron running just fine by scheduling a post. Can you try to schedule a post for 7 days and see if it’s published after?

    Thanks,

    Thread Starter gaiusjaugustus

    (@gaiusjaugustus)

    Hi. I can confirm that my scheduled posts (scheduled more than 7 days ago) are publishing without issue. I have 2 scheduled posts a week, and they have been publishing successfully. All were scheduled during the time I was having the issue with PublishPress Future.

    Plugin Support Riza Maulana Ardiyanto

    (@rizaardiyanto)

    @gaiusjaugustus If scheduled posts are working fine, then there should be no issues with your cron. You can test this by creating a new page and setting a future action to move it to draft in the next 5 minutes. Observe if the page is moved to draft as scheduled.

    Thread Starter gaiusjaugustus

    (@gaiusjaugustus)

    As I mentioned in my initial post, when I set up a Future Action for the next few minutes (for example, I just set one up for 10 minutes in the future), the action runs successfully.

    However, when I set it for farther in the future (for example, tomorrow or next Thursday), I see the following:

    • Prior to the future action date, the future action appears correctly in the Quick Edit menu
    • AFTER the future action date, the future action is no longer shown in the Quick Edit menu or on the Edit screen
    • The future action was not completed successfully.

    I’m baffled by this behavior. Any assistance would be appreciated.

    Plugin Support Riza Maulana Ardiyanto

    (@rizaardiyanto)

    @gaiusjaugustus What type of future action that you set? Is it still happens if you set something else?

    Thread Starter gaiusjaugustus

    (@gaiusjaugustus)

    I’ve tried “replace visibilities”, “remove selected visibilities”, and “add selected visibilities”.

    None of these worked.

    Plugin Support Riza Maulana Ardiyanto

    (@rizaardiyanto)

    @gaiusjaugustus When you schedule for couple minutes ahead, it works, but for some reasons it does not work when you set longer period of time. You also have setup real cron instead of using wp cron. The situation appears to be more complex and may require further troubleshooting.

    Unfortunately, asking for login details is against the guidelines of this forum (www.ads-software.com?Forum Guidelines).

    Our Pro users have the advantage of accessing our private helpdesk, allowing for direct troubleshooting on their sites.

    Considering the complexity of the issue, we recommend upgrading to the Pro version so we can address and troubleshoot it directly on your site.

    Thread Starter gaiusjaugustus

    (@gaiusjaugustus)

    I thought that might be the case. Thanks for your assistance.

    Unfortunately, the plugin is out of budget for me at the moment, so I’ll find a less ideal workaround for now.

    Plugin Support Riza Maulana Ardiyanto

    (@rizaardiyanto)

    @gaiusjaugustus Sure thing. Sorry, without direct investigation, we will not be able to help this further. Thanks for giving it a shot.

    I have similar setup to @rizaardiyanto and I’m experimenting the same issue with wc products.

    I’m using wc to sell tickets to events and opted for FuturePress to “hide” it after it’s over, so it’s not recommended on x-sell.

    None of my events are for the following minutes. It’s scheduled for weeks ahead.

    Although I’m getting the email announcing the action was executed, the product remains visible in the catalog, which means no changes were performed.

    Apparently it’s just not doing what it’s supposed to do.

    • WP 6.6.1
    • WC 9.2.1
    • PHP 8.2.18
    • Astra theme 4.8.0

    Pls take a closer look at it.

    For now FuturePress is no more then a good reminder schedule, as I still hv to perform the action myself.

    • This reply was modified 2 months, 4 weeks ago by daudtivan. Reason: setup info
    Plugin Support Riza Maulana Ardiyanto

    (@rizaardiyanto)

    Ok. Sorry for that. Will do so.

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