• Resolved nwjeff

    (@nwjeff)


    Your plug in has been very useful for collecting volunteers for our car shows, thank you!

    I noticed that according to the docs that two cron functions should be running to send out reminder notifications and to check for rescheduled events. With the latest plugin (don’t know if it was working earlier) I do not see either cron function when I check the list (using another plugin). The recent reminders were not sent when the date occurred even the website get frequent visits. When manually activated the reminders go out without any problem and the emails are sent. Also new sign ups get the confirmation email ok.

    Is there a problem with the current plugin and WordPress?
    What two cron functions should I see on the list of cron function events. I could not find any specifics on these two “hooks” in the docs for the plugin.

    Thank you.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • 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

    Plugin Author DBAR Productions

    (@dbar-productions)

    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.

    Plugin Author DBAR Productions

    (@dbar-productions)

    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.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Reminder notification cron function not running’ is closed to new replies.