You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've noticed that the next scheduled cron can run irregularly than the keep alive value located in the settings area.
eg. My keep alive value is 5 minutes. I visit my site at 9:00am and trigger WP cron to run our task. The next scheduled event is correctly set for 9:05am. However, if no one visits our site afterwards until 9:07am. The cron job will reactivate at 9:07am and run for 5 minutes (end at 9:12am), but the next scheduled event in WP is set for 9:10am (which is 5 minutes after 9:05am).
This can cause irreguarity between inbox checks. It also doesn't help that sleep( 10 ) is used during the inbox check and that a leeway gap is added in bp_rbe_custom_cron_schedule().
Will need to think of a better way to reschedule cron.
In the meantime, if you run into this problem, deactivate the plugin and reactivate.
The text was updated successfully, but these errors were encountered:
* In bp_rbe_cron(), switch out wp_remote_post() for spawn_cron().
* In bp_rbe_custom_cron_schedule(), remove the leeway interval as it isn't necessary any more.
* In BP_Reply_By_Email_IMAP::run(), add some comments for later reference.
I've noticed that the next scheduled cron can run irregularly than the keep alive value located in the settings area.
This can cause irreguarity between inbox checks. It also doesn't help that sleep( 10 ) is used during the inbox check and that a leeway gap is added in bp_rbe_custom_cron_schedule().
Will need to think of a better way to reschedule cron.
In the meantime, if you run into this problem, deactivate the plugin and reactivate.
The text was updated successfully, but these errors were encountered: