Issue 2487: Refetch events on a timer. Polling
Status:  ExportedToGithub
Owner: ----
Closed:  Aug 2015
Reported by diogoale...@gmail.com, Apr 20, 2015
I imagine that, like myself, a lot of the people that use fullcalendar with an ajax source for events end up writing some logic with setInterval/setTimeout for it to update it self behind the scenes every once x seconds.

What do you think about fullcalendar providing an option, maybe named autoUpdate, or updateInterval, that facilitates this for us?

The default should probably be 0/false, meaning no autoUpdates. But this way, people that wanted it could use:

updateInterval: 10,

instead of something like:

var updateInterval = 10000;
setInterval( function() {
$("#calendar").fullCalendar('refetchEvents');
}, updateInterval);

It's just a convenience, but seems pretty easy to implement too, i did a very small PR with the changes at https://github.com/arshaw/fullcalendar/pull/224.

This would also fix the flicker of events when updating, since we're not calling the refetchEvents function.

Thanks for this plugin, it's been amazingly useful for me!
May 26, 2015
Project Member #1 adamrs...@gmail.com
(No comment was entered for this change.)
Summary: Refetch events on a timer. Polling (was: autoUpdate option)
Status: Accepted
Labels: Type-Feature
Aug 21, 2015
Project Member #2 adamrs...@gmail.com
Discussion for this issue has moved to the following URL:
https://github.com/fullcalendar/fullcalendar/issues/2752

This is because Google Code is shutting down. Apologies if you are being pestered with these notifications. This is a one-time event.

Happy coding,
Adam
Status: ExportedToGithub