Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
plugins-topic
Birthday Plugin
Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Apr 27, 2015 - 8:21 am

There are two files you will need to change. First:

/wp-content/sp-resources/forum-plugins/birthdays/sp-birthdays-plugin.php

fairly near the bottom you will find the function defined:

function sp_birthdays_scheduler()

within that function and in the call to the WP function wp_schedule_event(), change the 'daily' to 'hourly'.

and /wp-content/sp-resources/forum-plugins/birthdays/sp-birthdays-install.php

You will see here 2 uses of the 'daily' keyword. Just change them both to 'hourly'.

After you make and save the changes then deactivate the Birthdays plugin (NOT Uninstall). Then after the page has reloaded - activate it again. This should reset the CRON task bit do check on the toolbox to make sure it has.

andy-signature.png
YELLOW
SWORDFISH
Avatar
gorky5
Member
Free Members
sp_UserOfflineSmall Offline
Apr 27, 2015 - 9:44 am

Thank you! Very good of you to take the time to write this all out.

Here's the info from the Cron Inspector:

28 April 2015 - 12.01am 1430179260 Once Hourly sph_birthdays_cron

I assume it won't update again until 12.01am tomorrow, but from then on it'll do it hourly. Is that correct? I'm fine with that.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Apr 27, 2015 - 10:57 am

Ah - it does look that way. Had overlooked that.

andy-signature.png
YELLOW
SWORDFISH
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17363
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625