Were you logged in or not? If you were logged in, you would avoid the caching, and so things would look different.
EOT Notification Fail with S2Member Pro 170524 (and total website crash)
Another point is that you seem to be running both this:
www.montgomerycountybeekeepers.com/
and this:
montgomerycountybeekeepers.com/
The latter works fine. You need to check your General Settings in WP so that they say http://montgomerycountybeekeepers.com/
(without any www)
OK. Iâll try this. Again, thank you.
so in Jasonâs comments from the link you gave me, he said he needs to raise the min. PHP to 5.3.2
My version is listed as 5.6.29
I know 7 is faster, but should 5.6.29 let EOT Notifications run correctly?
Yes, 5.6.29 will be enough, (though you really should be on at least 7.0 because 5.6 now isnât supported for anything other than security fixes). I suspect that this version hadnât propagated immediately, and that was why I saw the errors before.
OK. Onward and upward. The cron through Bluehost didnât trigger an email. I went back to make sure the test user had notifications turned on in itâs profile. It did. But I also saw that in S2Member the Auto-EOT was âYes - thru WP-Cronâ Would that matter?
ALSO, When I change the auto-eot to Yes-My-Own, the suggested page is different from the one we plugged in earlier:
Should I try:
wget -q -O - https://montgomerycountybeekeepers.com/?s2member_auto_eot_system_via_cron=1 >/dev/null 2>&1
Instead of:
wget -q -O - http://www.montgomerycountybeekeepers.com/wp-cron.php?doing_wp_cron >/dev/null 2>&1
Sure; give that a try.
Hi, Tim. What is our next move? So far, zero EOT notifications, even with both versions of the Cron jobs running. Each time I create a new test user, however, I do get notified about a new user. Is the command correct? (I put BlueHost notes at bottom.)
FROM BLUEHOST:
Command lines. Examples only! Bold sections must be changed.
Note: You may need to adjust /home/ to /home#/ depending on the home directory your account resides on. To view the home directory for your account simply view the stats column on the main cPanel page of your account and look for the home directory.
PHP
Command to run a PHP5 cron job:
php /home/username/public_html/cron.php
Optional flags are sometimes required for a PHP cron job:
php -q /home/username/public_html/cron.php
Command to use a specific php.ini file:
php -c /home/username/public_html/php.ini /home/username/public_html/myscript.php
Command to GET a remote file:
/usr/bin/GET http://www.example.com/file.php
Perl
Command to run a CGI cron job:
perl /home/username/public_html/cgi-bin/file.pl
SSH
Command to run a shell script cron job:
/bin/sh /home/username/public_html/file.sh
As I said before, setting up a cronjob works differently on different hosts, so Iâd follow Bluehostâs suggestions.
I would also be inclined to try the sever scanner again, because youâre now on a later version of PHP.
Tim, thanks for your patience with my EOT Notifications problem. I will ask BlueHost to help me configure a cron job independent of wp-cron. To do that, can you first tell me the name of the php file that cron needs to trigger, and where that file is located? (Iâm sure that info is in your previous command suggestions, but I donât know how to parse the codes and donât see any file ending in php)
Thatâs not how cronjobs work. The trigger is already coded to respond when a cronjob runs, so the only thing you need to do is to make the cronjob run.
If iâm understanding this, cronjobs execute a command at specific intervals. So I"m trying to figure out the command for triggering EOT Notification checks. I understand that BlueHost may require additional flags or whatever, but what is the command that needs to be initiated by the cron?
You are overcomplicating this. Itâs like putting out the garbage. s2Member and other plugins have already done that. All they need is for the garbage collection to come along. All you need to do is set up the equivalent of the garbage collection. There is no job-specific code required.
Happy to keep this simple. All I want are EOT notifications. Zero have ever been sent. Iâve entered many test users with eot of âtomorrowâ, and my âRemind X days before EOT Occursâ is set to -1, 0, 1
- When EOT Behavior is set to âYes, via WP-Cronâ , S2M insertâs the_wp-cron HOOK = ws_plugin__s2member_auto_eot_system__schedule and ACTION = c_ws_plugin__s2member_auto_eots::auto_eot_system()_ Even when I click ârun nowâ, I donât get email notification, so itâs not a matter of the wp-cron not running.
- When EOT Behavior is set to âYes, with my own cron Jobâ and I put the command and variations of the command (see image) that you proffered, zero notifications. Itâs likely that I havenât written these commands correctly, and that is why Iâm trying to understand what it takes to make the cron have S2M check for EOT and to send notifications.
Hmm, if none of that has worked, I think the problem lies elsewhere with your host. You need to try a different tack by installing the Postman SMTP plugin: https://wordpress.org/plugins/postman-smtp/
oh. this keeps getting less and less fun. Iâll give it a try. Thanks.