Thread Starter
nwjeff
(@nwjeff)
I tried unchecking and then rechecking the option in Main Settings for “Enable CRON Notifications?”. This made no difference, I still do not see any PTA cron event or hourly cron task on the applicable list (I did find the hook names in your source code listings).
I would try deactivating then reactivating the plugin but I am unsure if this would erase all of the current volunteer signups, tasks and events.
Thank you — Jeff
You can deactivate and reactivate the plugin without losing any data. The WordPress CRON hook is set up during activation. Activation also sets up the database tables or database updates, only if needed, as well as the custom role.
The only thing that gets removed when you deactivate is the custom role, but then it’s created again when you activate, so you won’t lose anything.
Sounds like you might already know this, but just to be sure, and for anyone else who stumbles across this, the WordPress CRON is not a true CRON, so it won’t show up in your server’s list of real CRON functions. Also, since it’s not a true server CRON, it can only be triggered when your WordPress site is loaded by a visitor or webcrawler, etc…. so, depending on how much traffic you get, the hourly CRON functions might not actually get triggered every hour.
If you want to see the WordPress “CRON” hooks, you need to install a plugin like WP Crontrol, which will allow you to view, edit, delete, and immediately run any CRON events.
Sorry, I missed your first post, only saw the second one in the email.
If you have WP Crontrol, or something similar installed, then the hook for my plugin is:
pta_sus_cron_job
If you aren’t seeing that in the list of cron events, then it hasn’t been set up properly, and deactivating/reactivating should set it up again.
Thread Starter
nwjeff
(@nwjeff)
Thank you for your help and guidance. I am using WP Control to monitor the CRON functions.
I did the plugin deactivate/reactivate as you recommended. I now see the PTA CRON function for your plugin on the list of events displayed by WP Control and several reminders were also sent out. Also, the custom roles were restored and all of the signups are still present. Whew!
I will keep an eye on things but I think the problem is resolved.
Again, thank you for your prompt response and a very useful plugin.