Import ICS / ICal Calendar¶
An external ICS calendar can be imported with a scheduler task.
For this the scheduler task creates default events on the given pid.
If an event already exists (determined by UID inside importId) on ANY pid, the event only gets updated.
For your own events implement the
Add a new Scheduler Task
Select the class Execute console commands
Select Frequency for the execution
Go to section Schedulable Command. Save and reopen to define command arguments at the bottom.
Select calendarize:import (press save)
Select the options you want to execute the queue with, it's important to check the checkboxes and not only fill in the values.
The URI of the iCalendar ICS
The page ID to create new elements
Imports all events since the given date. You can use relative and absolute PHP dates. Note: For recurring even only the start date is relevant.
The iCalendar format specification is complex, so only a subset of properties is supported.
The generation of (event) configurations currently support following properties :
start / end date and time
duration (composer only)
status (e.g. CANCELLED) (
recurring configuration (
frequency (daily, weekly, monthly, yearly) (
until / last date (
the number of occurrences (
(simple) recurrences with monthly/yearly frequencies (e.g. every first Monday into the month) (
In addition to them the default event makes use of: