Hi,
Please install “Advanced Cron Manager” plugin and check what processes are scheduled(Dashboard > Tools > Cron Manager). The task that updates the feeds in Ai1ec is called ai1ec_cron. Check what time Advanced Cron Manager says it will run it.
Thread Starter
roarkh
(@roarkh)
I installed the plug-in and found the job named ai1ec_cron, under the schedule column it says hourly, but under execution it says “At next page refresh”. Is that normal or is that in indication something is wrong? There are a number of other jobs listed there and all of them say “At next page refresh”.
If it says “At next page refresh”, it means that it does not work. If you use cPanel, you can set up a scheduled task that spawns the wp-cron task. The following guide should help: https://support.hostgator.com/articles/specialized-help/technical/wordpress/how-to-replace-wordpress-cron-with-a-real-cron-job
Thread Starter
roarkh
(@roarkh)
Thanks for your help, I will take a look at the link. This site is running on a webserver running Gentoo Linux rather than cPanel so I’m not sure if the instructions will help but at least it’s a good place to start.
Thread Starter
roarkh
(@roarkh)
I really appreciate your help with this, you are going above and beyond the call of duty. I read over the article you posted and followed the instructions in there. Basically I added define(‘DISABLE_WP_CRON’, true); to wp_config.php and then created an executable file in /etc/cron.hourly to call wp-cron.php once per hour. I verified in my logs that the file is being run but the calendar still did not update, at least not when I expected it to.
However something has changed because when I log into the site and go to tools->cron manager now all of the wp hooks (wp_version_check, wp_update_plugins, wp_update_themes, wp_scheduled_delete and wp_scheduled_auto_draft_delete) show when they are going to execute next where before they said “At next page refresh” but the hook, ai1ec_cron still says it’s scheduled Hourly but the next execution still says “At next page refresh”.
I’m not quite sure what I’m missing here.
Thread Starter
roarkh
(@roarkh)
So, I did a bit more testing and now it looks like I just didn’t wait quite long enough for the calendar to refresh itself. I’ve added a couple more events and the calendar does now seem to be refreshing as it should be so all appears to be good. Thanks again for all your help and for providing such an excellent plug-in.
No problem, glad I could help 😉
If you’re enjoying your calendar can you please review us on WordPress.org to help others connect easier into your and our Time.ly network? Review form can be found here: https://wordpress.org/support/view/plugin-reviews/all-in-one-event-calendar?filter=5#postform
Thank you for your time. We appreciate it!
Ben