calendarimporter/backend
2016-12-16 14:51:04 +01:00
..
.htaccess Added Translation 2016-11-29 19:58:23 +01:00
config.php Line endings 2016-12-16 14:51:04 +01:00
functions.php Line endings 2016-12-16 14:51:04 +01:00
README.txt Line endings 2016-12-16 14:51:04 +01:00
sync.php Line endings 2016-12-16 14:51:04 +01:00

Backend setup:

1. Create a Admin User in Kopano:
kopano-admin -c adminuser -e admin@domain.com -f "Calendar Sync Admin" -p topsecretpw -a 1

2. Edit the config.php to fit your needs.

3. Setup cron to run your script every 10 minutes (or whatever...)

4. If you get an error, make sure that the mapi module is loaded for php-cli:
 * Add: /etc/php5/cli/conf.d/50-mapi.ini
 * Content: extension=mapi.so

Never run the backend script as root!