Trigger rescan from external php?
-
I’m working on connecting a database of events to a calendar system that is nicely viewable and end-users can subscribe to in their own personal calendars. The plugin All-in-One Event Calendar seems to do that nicely… my database can create an iCal format .ics file and ai1ec reads it. But ideally, I would like new events to show up immediately on the webpage calendar. Ai1ec only reads the ics file about once an hour. Is there a way that I can trigger the rescan upon adding something new to my database? Maybe some file from the plugin that I can include in my own php then call rescan() or something like that?
Or, how does ai1ec know that it is time to rescan the ics… maybe I can alter a timestamp somewhere to make the rescan run…?
Thanks!
The topic ‘Trigger rescan from external php?’ is closed to new replies.