• Resolved EricPeterson

    (@ericpeterson)


    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!

Viewing 1 replies (of 1 total)
  • Hi @ericpeterson,

    Your feeds are refreshed using your server’s cron function, and yes it is set to hourly. There is really no need to do this more often, as the refresh may be 1 event or more, and doing it more often is inefficient and unnecessarily consumes server memory. Nevertheless, if you insist you can manually execute the cron job. If you are not familiar with how to do this, then you can manage your cron jobs by installing a free WordPress plugin to do so.

    • This reply was modified 8 years, 11 months ago by Sunny Lal.
Viewing 1 replies (of 1 total)

The topic ‘Trigger rescan from external php?’ is closed to new replies.