In the past Google Calendar exports were done by first removing all events of a day and then create new ones. This takes a lot of time for export and runs into Google Calendar usage limits after some time. By now content will be compared before removing/creating a single event one. To be able to do so, all other sync sources and targets have been removed, so its only possible to export from database to Google Calendar by this change. To trigger an export you need to create a trigger file. run_jobs.pl runs periodically e.g. started by cron and checks if a trigger file exists and start sync_cms.pl to export the selected events to the Google Calendar. Trigger files and jobs are configured at jobs.config. Each job has a source and target file containing the access data for calcms and the calendar. Configuration files have been cleaned up. Old Accounts and passwords have been removed. They hopefully should have been not active for a long time ;-)
34 lines
499 B
INI
34 lines
499 B
INI
<source>
|
|
<access>
|
|
hostname localhost
|
|
port 3306
|
|
database calcms
|
|
username calcms_read
|
|
password password
|
|
</access>
|
|
|
|
<date>
|
|
time_zone Europe/Berlin
|
|
</date>
|
|
|
|
project 88vier
|
|
<projects>
|
|
<88vier>
|
|
name 88vier
|
|
title 88vier FRB
|
|
start_date 2010-05-01
|
|
end_date 2020-06-01
|
|
</88vier>
|
|
</projects>
|
|
location frb
|
|
|
|
<mapping>
|
|
event_details_url http://senderberlin.org/programm/sendung/<TMPL_VAR event_id>.html
|
|
</mapping>
|
|
|
|
<system>
|
|
debug 1
|
|
</system>
|
|
</source>
|
|
|