Subscriptions & Scheduled Posts
-
I wrote a plugin that publishes scheduled posts that have been missed by the server’s cron. One user told me that my plugin works fine, but the JETPACK subscription notices aren’t triggered.
I am using the command: wp_publish_post($POST_ID)
Is there a way I can trigger the subscription notices?
Thank you!
Jennifer Moss
-
Hi Jennifer! It sounds like your plugin should work alongside Jetpack. Could you provide me with a few examples where it failed? Please be sure to include a link to the site, and any specific posts that failed to be sent to your subscribers. Then I’d be happy to investigate further!
Hi Ryan – TFETimes.com is the blog that is having the problem. We even set up a test case to see if the plugin was firing (it was) but it’s not sending out the subscription emails. It’s a very light plugin, you can download and look at the code, if you want: http://www.wordpress.org/plugins/scheduled-post-trigger
They have scheduled posts twice a day – the test was yesterday at 3pm where the post was published, but no subscribers got the notification.
I tested on my own site, and it did work with Subscriptions. So it’s possible that one of their other plugins is interfering?
Thank you,
JenniferThanks for the link, Jennifer! It looks like there may have been an issue with Jetpack’s connection on TFETimes.com. I’ve updated some settings on our end in an attempt to resolve the issue.
Could you let me know if the subscription emails are sent as expected the next time a new post is published? Just let me know, and we can go from there.
The afternoon post yesterday did not send the emails.
Hello Jetpack support,
We will be the point of contact for this going forward. Could you please advise?
Thanks for the update. Can you please use Jetpack’s Debugger module to send us some more information about your site? To do so, follow these steps:
1) Go to the Jetpack page in your dashboard.
2) Scroll down to the bottom and click “Debug”
3) Click the link that says “Click here to contact Jetpack support.”
4) Fill in your name, email address, and the description box with a link to this thread.
5) Click the “Contact Support” button.Then we’d be happy to look into this further. Thanks!
Done
Hi. Thoughts on our issue?
@thefinancialengineer: Thanks for sending over the debug results! We’ve received them on our end, and we’ll follow-up via email as soon as we can.
The conclusion from Jetpack was that SUBSCRIPTIONS uses the CRON to send out notifications about posts, and is not able to see when the post is published by the plugin.
The plugin uses the standard function wp_publish_post() however, so it should trigger a send. It’s as if a user publishes from the admin screen.
Jennifer
So what is the fix that needs to be done? Is it a jetpack fix then? I continue to be told that Jetpack doesn’t exactly know what the problem is, but it seems clear here that the problem really is what Jennifer is saying. Has Jetpack looked into this any further?
The missed schedule problem is not a Jetpack issue and is more to do with your server configuration so it’s not something we can help with. Publicize issues aren’t related to missed schedule issues but have everything to do with the connection between your site and WordPress.com which is a Jetpack issue.
@mossifer Jennifer, I received this from a Jetpack email support staff. Do you agree that this is the issue? They say they are seeing it fail 20 percent yet everywhere else we all see it fail 100 percent?
>When we introduced Jetpack version 4.2 we greatly >improved the sync which also increased the number >of requests we’re making to your site. However at >the moment about 20% of our requests to GoDaddy >are failing. We’re trying to work with GoDaddy to >resolve this but I don’t have an ETA for you. >From what I understand they’re going to whitelist >our IP range. If you want to reach out to them >independently then please feel free to do so. Our >IP range is listed here:
>
>https://jetpack.com/support/hosting-faq/I believe it has something to do with how GoDaddy caches the site. I’ll try to get a GD tech on the phone to get more information. Thanks for your insights!
Ok sounds good. I haven’t personally gotten anywhere with GoDaddy support but that’s probably because I really don’t understand WordPress, Cron,Cache, or any of it. I just know how to write my blog, change my theme, and publish it. I can’t understand how all this scheduled posting stopped working suddenly in September. It’s as if Godaddy didn’t change but Jetpack and WordPress did. Regardless, I don’t know if the IP whitelist thing is the problem or not but I hope you can get to the root of this. I get confusing answers from Jetpack and don’t know whether they are going to fix this or not with GoDaddy. I wish there was a code snippet or plugin I could have someone create for me to fix this… anyway, let me know what you find out. Thanks Jennifer! π
get confusing answers from Jetpack and donβt know whether they are going to fix this or not with GoDaddy.
If you’re confused with one of the replies from my colleagues, don’t hesitate to let them know and they’ll clarify!
The topic ‘Subscriptions & Scheduled Posts’ is closed to new replies.